Skip to content

Commit a740445

Browse files
committed
typo
1 parent d86d14a commit a740445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function demo(\PDO $pdo, string $email): void
1515
// ---------- query plan analysis ----------
1616

1717
$stmt = $pdo->query("SELECT * FROM `ada` WHERE email = ?");
18-
$stmt->execute($email);
18+
$stmt->execute([$email]);
1919

2020
// ---------- in-depth query analysis ----------
2121

0 commit comments

Comments
 (0)