Re: PEAR::DB == || != DBA
| From: | Paul M Jones | Date: | Fri, 02 Apr 2004 16:03:52 +0000 |
| Subject: | Re: PEAR::DB == || != DBA | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11588@lists.php.net to get a copy of this message | ||
On Apr 2, 2004, at 9:57 AM, Eric Stewart wrote:
After taking a hard look at database abstraction and choosing PEAR::DB as my abstraction layer tool. It occurred to me that this does not quite fit the bill. The main problem being escaping strings before insertion and selection.I think DB::quoteSmart() is supposed to properly escape and enquote strings for various databases in their specific ways. Is quoteSmart() not doing it for you? -- Paul M. Jones Savant: the simple alternative to Smarty. http://phpsavant.com/