Re: Newbie question about MDB_QueryTool and data quoting
| From: | Lorenzo Alberton | Date: | Wed, 19 Jul 2006 12:14:46 +0000 |
| Subject: | Re: Newbie question about MDB_QueryTool and data quoting | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24701@lists.php.net to get a copy of this message | ||
Hi Michael,
I like your idea about a smart quoting mechanism, but certainly understand the problems with this. As you mention, the end user knows best. So, perhaps smart quoting could be implemented for API consistency, with an optional flag for disabling such a feature if they know quotes would not be desirable?I think that would cause way more problems than advantages. As I said, if the user uses those methods, he's responsible for quoting the data he passes to them. No "smart quoting" algorithm would be smart enough. Best regards, -- Lorenzo Alberton http://pear.php.net/user/quipo ___________________________________________________________________ Quipo Free Internet - 2 email, 150 Mb di spazio web e molto di più. ADSL, Hardware & Software Online Store