andre 4 years ago
parent
commit
9aed0da8f0
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) {
     echo "got token: $token" . PHP_EOL;
-    $dbAction = $db->prepare("SELECT description FROM clients WHERE token='?'");
+    $dbAction = $db->prepare("SELECT description FROM clients WHERE token='123456a'");
     $dbAction->bind_param('s',$token);
     $dbAction->execute();
     $dbAction->bind_result($description);