Northern Flame Posted December 15, 2007 Share Posted December 15, 2007 I have some post data that comes in from a text area and when the user types in symbol such as ' it returns it as \'. I know this is necessary for my script to do this to protect it from damaging my script, but is there a way to edit that out? Is there a certain way that I need to do this for my post data or can the function str_replace() find all the \ out of my post data and delete those? Link to comment https://forums.phpfreaks.com/topic/81768-solved-taking-out-the-out-of-my-post-data/ Share on other sites More sharing options...
PHP_PhREEEk Posted December 15, 2007 Share Posted December 15, 2007 Use strip_slashes on the way out... PhREEEk Link to comment https://forums.phpfreaks.com/topic/81768-solved-taking-out-the-out-of-my-post-data/#findComment-415350 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.