[PHP] Encoding /'s

2003-03-15 Thread Doug Coning
Hi All, When my PHP page sends text that is being passed in, it places an / in front of the apostrophe. How do I encode or decode this when I am outputing the variable? Thanks, Doug Coning -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Encoding /'s

2003-03-15 Thread John W. Holmes
When my PHP page sends text that is being passed in, it places an / in front of the apostrophe. How do I encode or decode this when I am outputing the variable? www.php.net/stripslashes They are added to GET, POST, COOKIE data according to the magic_quotes_gpc setting in php.ini. ---John