-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
You have a typo in the docs that confused some unsuspecting fellow who came to Stack Overflow, scared by the fact that pdo-debug is not using prepare().
It's better to change the line
$sql = "INSERT INTO test (col1, col2, col3) VALUES (:col1, :col2, :col3)";
to
$query = $pdo->prepare("INSERT INTO test (col1, col2, col3) VALUES (:col1, :col2, :col3)");
just for clarity
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels