RE: [PHP] ereg_replace and quotation marks

From: Date: Wed, 25 Jun 2003 11:26:34 +0000
Subject: RE: [PHP] ereg_replace and quotation marks
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152764@lists.php.net to get a copy of this message
I think it has to do with magic quotes.... Oh well no worries :) On Wed, 2003-06-25 at 03:59, Boaz Yahav wrote: > 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 > -- "What good are computers? They can only give you answers." ~ Pablo Picasso

« previous php.general (#152764) next »