diff options
Diffstat (limited to 'ext/pdo/tests/pdo_021.phpt')
-rw-r--r-- | ext/pdo/tests/pdo_021.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/tests/pdo_021.phpt b/ext/pdo/tests/pdo_021.phpt index fb25fc52bc..b1c18fbefd 100644 --- a/ext/pdo/tests/pdo_021.phpt +++ b/ext/pdo/tests/pdo_021.phpt @@ -44,7 +44,7 @@ echo 'There are ' . $num . " rows in the table.\n"; // Insert using named parameters $stmt2 = $db->prepare("INSERT INTO test VALUES(:first, :second, :third)"); foreach ($data as $row) { - $stmt2->execute(array(':first'=>($row[0] + 5), ':second'=>$row[1], + $stmt2->execute(array(':first'=>($row[0] + 5), ':second'=>$row[1], ':third'=>$row[2])); } |