freelance84 Posted July 6, 2010 Share Posted July 6, 2010 Is stripslashes() all that is needed when getting things back out of MySQL after things have been entered with mysql_real_escape_string()? Quote Link to comment https://forums.phpfreaks.com/topic/206914-stripslashes-with-mysql_real_escape_string/ Share on other sites More sharing options...
PFMaBiSmAd Posted July 6, 2010 Share Posted July 6, 2010 If you are escaping data correctly (only once) the \ characters are NOT inserted into the actual database table. Quote Link to comment https://forums.phpfreaks.com/topic/206914-stripslashes-with-mysql_real_escape_string/#findComment-1082036 Share on other sites More sharing options...
freelance84 Posted July 6, 2010 Author Share Posted July 6, 2010 Ah right. I did not know that, I'm going to have to go through and check everything then. Thanks for the tip Quote Link to comment https://forums.phpfreaks.com/topic/206914-stripslashes-with-mysql_real_escape_string/#findComment-1082038 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.