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? Quote Link to comment 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 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.