note 45468 deleted from function.addslashes by aidan
| From: | aidan@php.net | Date: | Thu, 09 Sep 2004 02:04:25 +0000 |
| Subject: | note 45468 deleted from function.addslashes by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-76260@lists.php.net to get a copy of this message | ||
Note Submitter: Thomas Parslow tom-AT-almostobsolete.net
----
For encoding strings that will be placed into HTML (which includes hidden fields in forms) use the
htmlentities function. This will replace all applicable characters in the string with HTML entities.
-tom