DB->quote
| From: | Edin Kadribasic | Date: | Wed, 22 Aug 2001 19:34:53 +0000 |
| Subject: | DB->quote | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-1664@lists.php.net to get a copy of this message | ||
I just checked out the lates php CVS just to find that all of my
applications that are using Pear::DB were broken due to a change in
quoteString method.
The problem is that the new quote() method retuns a string with single
quotes around it which I think it's a very bad idea.
Even the function stub says:
"Quote the given string so it can be safely used *within* string delimiters"
It does not say anything about putting those delimiters within the returned
string. Any reason for this change?
Edin