note 8376 added to htmlspecialchars

From: Date: Fri, 08 Sep 2000 19:07:35 +0000
Subject: note 8376 added to htmlspecialchars
Groups: php.notes 
Request: Send a blank email to php-notes+get-4569@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)) In case this doesn't come out right in this manual page, the second parameter in that function is ampersand-hash-three-nine-semicolon. http://www.php.net/manual/function.htmlspecialchars.php

« previous php.notes (#4569) next »