Kontrollflussgrafikgenerator
public function checkEmail_all($email_u)
{
// return $this-> find(self::TABLE,$data);
$sql = "SELECT * from users where email_u = '$email_u'";
$query = $this->query($sql);
if ($query) {
$data = [];
while ($row = mysqli_fetch_assoc($query)) {
array_push($data, $row);
}
return $data;
echo $sql;
} else {
return false;
}
}
Xenophobic Xenomorph