DB question: efficient way to smartQuote() a list of fields before INSERT statement?

From: Date: Fri, 07 Jan 2005 20:57:11 +0000
Subject: DB question: efficient way to smartQuote() a list of fields before INSERT statement?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16798@lists.php.net to get a copy of this message
I need to INSERTs lots of fields into a table and need to smartQuote() them all. Is there an efficient way to do this? I have thought about the function below but wonder if there's a way to quote lots of fields at once before insertion? Can you do a mass INSERT using DataObject? function smartQt ($fld) { $quotedFLD = DB->smartQuote($fld); } Thanks for any ideas. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

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