andre 4 years ago
parent
commit
92b6a2c961
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -10,7 +10,7 @@ $db->set_charset('utf8');
 
 
 function checkToken($token,$db) {
 function checkToken($token,$db) {
     echo "got token: $token";
     echo "got token: $token";
-    $dbAction = $db->prepare("SELECT description FROM clients WHERE token = ?");
+    $dbAction = $db->prepare("SELECT description FROM clients WHERE token=?");
     $dbAction->bind_param('s',$token);
     $dbAction->bind_param('s',$token);
     $dbAction->execute();
     $dbAction->execute();
     $dbAction->bind_result($description);
     $dbAction->bind_result($description);