[PHP-DEV] Question about PEAR DB (mysql) From: Chris Newbill (cnewbill <email protected>)
Date: 04/14/01

There are two functions query and simpleQuery...query CAN return a DB_Result
object, simpleQuery returns a resource ID. When you call fetchRow() with a
DB_Result, it fails because it expects simply a resource and doesn't check
for a DB_Result object.

It's a simple change to make this work. Is there some magical and
mysterious reason this is so?

Chris Newbill
OneWest.net Inc.,
Programmer/Analyst

406.449.8056
cnewbill <email protected>

/*
Windows crashed.
I am the Blue Screen of Death.
No one hears your screams.
*/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>