~legolas/ubuntu/natty/php5/5.3.5

« back to all changes in this revision

Viewing changes to ext/pdo/tests/pdo_021.phpt

  • Committer: Stas Verberkt
  • Date: 2011-02-01 09:27:15 UTC
  • Revision ID: legolas@legolasweb.nl-20110201092715-yq052iu2yl4i2eyg
Inserted PHP 5.3.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
$num = $select->fetchColumn();
42
42
echo 'There are ' . $num . " rows in the table.\n";
43
43
 
44
 
$select->closeCursor();
45
 
 
46
44
// Insert using named parameters
47
45
$stmt2 = $db->prepare("INSERT INTO test VALUES(:first, :second, :third)");
48
46
foreach ($data as $row) {