RE: [PHP] ereg_replace and quotation marks

From: Date: Wed, 25 Jun 2003 07:59:24 +0000
Subject: RE: [PHP] ereg_replace and quotation marks
Groups: php.general 
Request: Send a blank email to php-general+get-152717@lists.php.net to get a copy of this message
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:Paul@danamusic.com] Sent: Tuesday, June 24, 2003 8:45 PM To: php-general@lists.php.net 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

« previous php.general (#152717) next »