Marcus James Christian pressed the little lettered thingies in this order... > Hello, > > I'm pretty new to PHP but all I've seen of it so far I pretty much love! > > I've built a web log but when the user enters their data and they use ' or > " (and you know they will) php always shows it from the included web log > as > > \' How can I filter out these backslashes so they don't appear on the > final public viewable page? > $var = stripslashes($var); echo $var; or echo stripslashes($var); http://www.php.net/manual/en/function.stripslashes.php Have fun... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://www.AppIdeas.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- RE: [PHP] Filtering out \ when a ' is user entered? James Cox
- Re: [PHP] Filtering out \ when a ' is user entered? Steve Edberg
- Re: [PHP] Filtering out \ when a ' is user entered? Aral Balkan
- RE: [PHP] Filtering out \ when a ' is user entered? scott [gts]
- Re: [PHP] Filtering out \ when a ' is user entered? Philip Olson
- Re: [PHP] Filtering out \ when a ' is user entered? Steve Werby
- Re: [PHP] Filtering out \ when a ' is user entered? Richard Lynch
- Re: [PHP] Filtering out \ when a ' is user ent... Delbono
- Re: [PHP] Filtering out \ when a ' is user... Christian Reiniger
- Re: [PHP] Filtering out \ when a ' is ... Richard Lynch
- Re: [PHP] Filtering out \ when a ' is user entered? Christopher Ostmo
- Re: [PHP] Filtering out \ when a ' is user entered? Stephen Cope
- Re: [PHP] Filtering out \ when a ' is user entered? Aral Balkan
- Re: [PHP] Filtering out \ when a ' is user entered? Marcus James Christian
- Re: [PHP] Filtering out \ when a ' is user entered? dempsejn
- RE: [PHP] Filtering out \ when a ' is user entered? Jason Murray