note 45468 added to function.addslashes

From: Date: Wed, 08 Sep 2004 12:57:55 +0000
Subject: note 45468 added to function.addslashes
Groups: php.notes 
Request: Send a blank email to php-notes+get-76230@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.addslashes.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+45468 Delete -- http://master.php.net/manage/user-notes.php?action=delete+45468&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+45468&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#76230) next »