Your example should work....
Maybe something else is the problem?

Sincerely

berber

Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.


-----Original Message-----
From: Paul Nowosielski [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 24, 2003 8:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP] ereg_replace and quotation marks


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


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

Reply via email to