You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -27,10 +26,6 @@ $db->exec("DROP TABLE IF EXISTS test");
27
26
// And now allow the evil to do his work
28
27
$db->setAttribute(PDO::ATTR_EMULATE_PREPARES, 1);
29
28
$sql = "CREATE TABLE IF NOT EXISTS test(id INT); INSERT INTO test(id) VALUES (1); SELECT * FROM test; INSERT INTO test(id) VALUES (2); SELECT * FROM test;";
30
-
// NOTE: This will fail, it is OK to fail - you must not mix DML/DDL and SELECT
31
-
// The PDO API does not support multiple queries properly!
0 commit comments