Hi set this in your php.ini file: magic_quotes_gpc = Off You'll have to use addslashes before you can store these variables with an ' in a database after turning it off. Tom
At 10:39 AM 20/12/01, Evansville Scene wrote: >I'm fairly new @ PHP, so forgive me if the answer is trivial ... > >In many cases, if I take in data from a form and the user uses an >apostrophe, the data that is sent to me has a slash in it. For example: >Jones\' Auto Repair > >Is there an easy fix? I'm not sure why this is occurring ... >It\'s been quite a pain :) > >Adam -- 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]