On Thu, 2004-02-26 at 00:19, Louie Miranda wrote: > I have a user/form that client enters data. And one of my clients have an > apostrophe on his name > > eg: Ero's > > Now, this page has a confirmation page that the client would see first > before his form will be directed into my system. Now its shows "Ero\'s" how > come this is happening? I dont have any filters for this?
Check php.ini, you probably have magic_quotes_gpc[1] enabled, disable this to remove the backslashes. If you can not edit php.ini or you are distributing your application and can not control PHP's settings search the archives for code based solutions to this. Welcome to the most annoying PHP feature ever. :) Regards, Adam [1] http://www.php.net/ref.info#ini.magic-quotes-gpc -- Adam Bregenzer [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php