>> I had the same problem: >> >> So I tried stripslashes.. >> But Queries do break if unslashed ' or " are present. >> and furthermore, there are many other problems .. >> >> So I created a function called "entities".. > >Why don't you simply use addslashes () again when you put the stuff into >the DB? Better yet, only use stripslashes() to display to the user. If your code is well-organized, you need stripslashes() in only a couple places, and that's it... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm -- 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? Christian Reiniger
- 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