I have a page which populates textareas from a database, allows the user to edit and update the information. Each time it submits it's adding more slashes.
Is there a way to tell PHP NOT to addslashes to html?
Thanks!
check out: stripslashes() addslashes()
PHP by default escapes quotes to input submitted thru GET and POST. If you have access to your php.ini file, you can turn this off with "magic_quotes_gpc". An interesting rant about this can be found at http://www.pinkgoblin.com/quotesarticle.php