John W. Holmes wrote:

From: "Hardik Doshi" <[EMAIL PROTECTED]>

Currently i am using PEAR DB abstration layer. Which
function should i use to escape the ' character? There
are couple of functions in the PEAR DB documentation
so i don't know which one should i use.


I don't use PEAR DB, but it looks like quoteSmart() is what I'd use.

---John Holmes...

You may also want to look into quoteIdentifier for table and column names as well.


--
paperCrane <Justin Patrin>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to