|
|
@@ -11,7 +11,7 @@ $db->set_charset('utf8');
|
|
|
function checkToken($token,$db) {
|
|
|
echo "got token: $token" . PHP_EOL;
|
|
|
$dbAction = $db->prepare("SELECT description FROM clients WHERE token='123456a'");
|
|
|
- $dbAction->bind_param('s',$token);
|
|
|
+// $dbAction->bind_param('s',$token);
|
|
|
$dbAction->execute();
|
|
|
$dbAction->bind_result($description);
|
|
|
print_r($dbAction);
|