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()? 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. 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 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
Archived
This topic is now archived and is closed to further replies.