Re: Unable to find fetchRow
| From: | Darren Cook | Date: | Tue, 14 Jan 2003 04:18:11 +0000 |
| Subject: | Re: Unable to find fetchRow | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3295@lists.php.net to get a copy of this message | ||
$result = $db->query($sql); if (DB::isError($db)) {You do the error check on the returned object. E.g. $result = $db->query($sql); if (DB::isError($result)){ die("Query Failed:$sql:".$result->getMessage()); } Darrendie ($db->getMessage());}