"René Fournier" <[EMAIL PROTECTED]> wrote: > The reason I ask is, I'm having a problem processing rows in a table that > contain single quotes (specifically, the PHP code I wrote that allows the > user to duplicate a row doesn't work if the a field in the row has a single > quote in it).
Try addslashes() before executing the query and stripslashes() when retrieving data from the db. See the online manual for more details. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]