commit d5070695ca5b946ede1f569f868ccf967a7e1f06 parent 6279b1f869d366a83d28c6ad2a61c6fd7228d0c5 Author: MTRNord <mtrnord1@gmail.com> Date: Sat, 17 Jan 2015 11:38:09 +0100 new try Diffstat:
| M | themes/jumbotron/admin.php | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/themes/jumbotron/admin.php b/themes/jumbotron/admin.php @@ -42,7 +42,7 @@ if ($resultat = $connection->query('SELECT id FROM allowed_user')) { } $x = 1; $user = "test"; -if ($resultat = $connection->query('SELECT email FROM allowed_user LIKE '.$user)) { +if ($resultat = $connection->query('SELECT * FROM allowed_user WHERE email LIKE '.$user)) { while($daten = $resultat->fetch_object() ){ $allowed_user = $daten->email; var_dump($daten);