cvs: pear /MDB MDB_test.php
| From: | Lukas Smith | Date: | Wed, 05 Jun 2002 14:11:24 +0000 |
| Subject: | cvs: pear /MDB MDB_test.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4421@lists.php.net to get a copy of this message | ||
lsmith Wed Jun 5 10:11:24 2002 EDT
Modified files:
/pear/MDB MDB_test.php
Log:
fetchColumn renamed to fetchCol
Index: pear/MDB/MDB_test.php
diff -u pear/MDB/MDB_test.php:1.7 pear/MDB/MDB_test.php:1.8
--- pear/MDB/MDB_test.php:1.7 Fri May 31 07:11:33 2002
+++ pear/MDB/MDB_test.php Wed Jun 5 10:11:24 2002
@@ -1,7 +1,7 @@
<?php
/*
*
- * @(#) $Header: /usr/repository/pear/MDB/MDB_test.php,v 1.7 2002/05/31 11:11:33 lsmith Exp $
+ * @(#) $Header: /usr/repository/pear/MDB/MDB_test.php,v 1.8 2002/06/05 14:11:24 lsmith Exp $
*
*/
require_once("manager.php");
@@ -61,7 +61,7 @@
// run the query and get a result handler
$result = $db->query($query);
// lets just get column:0 and free the result
- $db->fetchColumn($result, $array);
+ $db->fetchCol($result, $array);
echo "<br>column:<br>";
echo Var_Dump::display($array)."<br>";
// run the query and get a result handler