$token = $_GET["token"]; $stmt = $pdo->prepare("SELECT token FROM Tokens WHERE token =? LIMIT 1"); $stmt->execute(array($token)); echo $stmt->fetchColumn(PDO::FETCH_ASSOC); The response from the server is empty. What could be the problem?
prepare("SELECT token FROM Tokens WHERE token =? LIMIT 1"); $stmt->execute(array(...">
Source: https://ru.stackoverflow.com/questions/542249/
All Articles
execute. php.net/manual/ru/pdostatement.execute.php - Blacknife