Re: PEAR DB Error Messages
| From: | Charles Kline | Date: | Tue, 11 Mar 2003 20:49:44 +0000 |
| Subject: | Re: PEAR DB Error Messages | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-4164@lists.php.net to get a copy of this message | ||
This returns NULL.
What started all this is that I if the user input in one of the text fields contains a ' then I get the DB Error. I added the function to addslashes and if I echo the sql string before the call to the DB it looks fine. Not sure what to do.
Thanks
Charles
On Tuesday, March 11, 2003, at 03:38 PM, David DiMaria wrote:
if (DB::isError($result)) {var_dump($result);}