Call to undefined function: fetchrow

From: Date: Sun, 21 Mar 2004 21:46:05 +0000
Subject: Call to undefined function: fetchrow
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11423@lists.php.net to get a copy of this message
Hi all, I just upgraded DB to 1.6.1 and pear to 1.3. Since then fewRow seems not to work anymore. This is my code: <?php error_reporting(E_ALL); include "DB.php"; $user="mail"; $pass="secret"; $host="localhost"; $db_name="mail"; $dsn = "mysql://$user:$pass@$host/$db_name"; $handle = DB::connect($dsn,true); $query = "SELECT quota FROM domain"; $result4 = $handle->query($query, $handle); $row = $result4->fetchRow(DB_FETCHMODE_ASSOC, 0); print $handle; print $result4; ?> With the version 1.5.0rc1 all worked fine. Now I'm lost :-( Thanks for any hints rgds Luc

« previous php.pear.general (#11423) next »