maybe stripslashes() can solve your problem?

Paul Nowosielski wrote:
> I'm trying to strip quotation marks out of user from input but it
> doesn't seem to work correctly.
>
> $string=ereg_replace("\"","",$string);
>
> I get a \ mark after I run a quote  through the form. When I want the
> quote turned to nothing.
>
> Any suggestions??
>
> Paul



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to