Hi everyone,
I was just curious if there is another function that
does the same job as stripslashes(htmlentities($textstring)).
I am using this Combined function to echo back Text that is entered in
a Text Field.
Thanks in advance.
-gohaku
--
PHP General Mailing List (http://www.php.net/)
To
From: gohaku [EMAIL PROTECTED]
I was just curious if there is another function that
does the same job as stripslashes(htmlentities($textstring)).
Nope. Do it that way.
Or you can turn off magic_quotes_gpc, which is probably the reason you have to run
stripslashes().
---John Holmes...
--
2 matches
Mail list logo