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:[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 > -- "What good are computers? They can only give you answers." ~ Pablo Picasso -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php