Re: [PHP-DEV] Question about PEAR DB (mysql)

2001-04-15 Thread Stig Sæther Bakken
["Chris Newbill" <[EMAIL PROTECTED]>] > 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.

[PHP-DEV] Question about PEAR DB (mysql)

2001-04-14 Thread Chris Newbill
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 t