Re: DB slashing?
| From: | Christian Rishøj | Date: | Tue, 09 Jan 2001 23:07:43 +0000 |
| Subject: | Re: DB slashing? | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-921@lists.php.net to get a copy of this message | ||
Kendrick Vargas wrote:
> Do other databases require different escaping of strings? I've heard
> "yes", but then again, I may be wrong. Just looking at the annotated
> manual page shows different escaping for sybase, etc... Wouldn't it be a
> good idea to have the quoteString function use the database specific
> function when it's available?
>
> I imagine this would require moving the quoteString function into each
> database file and modifying as necessary whenever necessary. Is this such
> a bad thing?
I guess each DB requiring a special king of quoting/escaping would just
override
the generic quoteString() from the parent class. Right?
/Christian