"Vernon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > OK when I use the mysql_escape_string() it adds the slashes so that the > message will have \"the message\" so I've tried using the stripslashes() as > such: > > $message = > stripslashes(mysql_escape_string($HTTP_POST_VARS['message'])); > > which then causes the orginal problem, so it seems that I keep trying to > reverse each other. > > I don't want the slashes and I need the quotes.
Hi, this is from obscure memory, have a look at the function get_magic_quotes_gpc. I think that the input you are getting is already escaped. HTH G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php