getOne problem
| From: | Gigabyte | Date: | Mon, 24 Feb 2003 21:14:42 +0000 |
| Subject: | getOne problem | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3926@lists.php.net to get a copy of this message | ||
I seem to be having issues with getOne.
$dbh->getOne("select id from login where name="bob");
If I send an sql query that returns an Empty Set, it comes back with the
following error:
Call to a member function on a non-object
any suggestions?
-Mike