djfox Posted May 6, 2008 Share Posted May 6, 2008 For the longest time, my site has a problem where it stop all operation and gives an error message if someone uses ', the apostrope. It`s a commonly used key so I need my site to permiss this key through. What should I do? Quote Link to comment Share on other sites More sharing options...
DarkWater Posted May 6, 2008 Share Posted May 6, 2008 mysql_real_escape_string($_POST['text']); =P And check your other topic, I solved it I think. It works for me. I have screenshots if you want. =P Quote Link to comment Share on other sites More sharing options...
djfox Posted May 6, 2008 Author Share Posted May 6, 2008 Wow, that takes care of it as well? I will have to build a shrine to you now. Quote Link to comment Share on other sites More sharing options...
DarkWater Posted May 6, 2008 Share Posted May 6, 2008 Lmfao. Just use that on the INPUT, not the OUTPUT. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.