andre 4 years ago
parent
commit
6b509edf9b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      index.php

+ 2 - 2
index.php

@@ -9,8 +9,8 @@ if ($db->connect_errno){
 $db->set_charset('utf8');
 
 function checkToken($token,$db) {
-    $dbAction = $db->prepare("SELECT FROM client WHERE token = '?'");
-    $dbAction->bind_param('s',$token);
+    $dbAction = $db->prepare("SELECT FROM client WHERE token = '123456a'");
+//    $dbAction->bind_param('s',$token);
     $dbAction->execute();
     $dbAction->bind_result($token, $description);
     echo "$description" . PHP_EOL;