Kod
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':prid
LIMIT 0, 25' at line 1
LIMIT 0, 25' at line 1
<?php require_once ('page/header.php'); $stmt = $pdo->prepare("SELECT * FROM products WHERE id = :prid"); $stmt->bindValue(':prid', $prid, PDO::PARAM_INT); $stmt->execute();