How To Remove Slashes From Php Web Forms

RegisterLogin
How To Remove Slashes From Php Web Forms
Post Description: How To Remove Slashes From Php Web Forms
Tags: How, To, Remove, Slashes, From, Php, Web, Forms
This Post Was Posted On Feb 29, 2008 By web hosting #1283
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'])


Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
sree
#1715 1
it removes only 2 slashes suppose if we enter more than 2 slashes(\\\) then what is the solution to remove that slashes
Feb 25, 2008 Reply Report abuse
©2011 Webune Forums - Mon Dec 19, 2011 2:05 pm
Powered by: Webune Forums V3