note 8373 added to htmlspecialchars
| From: | jon+php-dev at unequivocal dot co dot uk | Date: | Fri, 08 Sep 2000 12:55:56 +0000 |
| Subject: | note 8373 added to htmlspecialchars | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4537@lists.php.net to get a copy of this message | ||
NOTE: To be entirely correct, this function should escape the "'" character also.
To get this functionality, use:
str_replace("'", "'", htmlspecialchars($foo))
http://www.php.net/manual/function.htmlspecialchars.php