Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

bind in pdo

$sql = "SELECT * FROM myTable WHERE id = :id";
$stmt = $conn->prepare($sql);
$stmt->execute([":id"=>$id]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bind #pdo
ADD COMMENT
Topic
Name
6+1 =