Re: PEAR::DB: auto quote for autoPrepare

From: Date: Fri, 19 Dec 2003 02:32:10 +0000
Subject: Re: PEAR::DB: auto quote for autoPrepare
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9693@lists.php.net to get a copy of this message
Andreas Korthaus wrote:
Hi! I am thinking if it would be a good idea to implement an auto-quote feature for autoPrepare and autoExecute. I don't know if there is any reason not to qoute the data. And it is very simple to do it while creating the SQL-string from given array. Perhaps per extra parameter(qoute=[0|1]) for autoPrepare, or per setting it as property of the Class. What do you think about it? regards, Andreas
I've already created a DB specific quoting function, but it hasn't been incorporated into the package yet. This might be a good addition. -- paperCrane <Justin Patrin>

« previous php.pear.general (#9693) next »