Results 1 to 5 of 5
Jan 4, 2005, 15:49 #1
- Join Date
- May 2004
- 0 Post(s)
- 0 Thread(s)
stripslashes() works only sometimes
Am I right in thinking that the stripslashes() function only works once on the same bit of text in the same browsing session?
I've a text box on my site where people enter in comments then can preview them (on another page) before submitting them to my database.
$TheComment = stripslashes($_POST['comments']);
For example I'm appears as I\'m etc.
If so (it only works once) is there any work around?