- Forums
- PHP
- How To Remove Slashes From Php Web Forms
This Page Contains information about How To Remove Slashes From Php Web Forms By web hosting in category PHP with 1 Replies. [1933], Last Updated: Mon Jun 24, 2024
web hosting
Fri Feb 29, 2008
1 Comments
459 Visits
ok, so today i had a php webform and when i submitted the information in the textarea, my database was updated with
rn character to represent the enter key but i didnt want this to show so to avoid this you can use this function:
lets say the name of my text area was called
content
all you have to do is do this:
stripslashes($_REQUEST['page_content'])
https://www.webune.com/forums/how-to-remove-slashes-from-php-web-forms.html