note 38060 added to function.htmlentities

From: Date: Sat, 06 Dec 2003 17:21:29 +0000
Subject: note 38060 added to function.htmlentities
Groups: php.notes 
Request: Send a blank email to php-notes+get-61486@lists.php.net to get a copy of this message
With html forms, it appears that there is a difference in the way textareas and text input fields respond to the redisplay of user data. I find that I need to use htmlentities before redisplaying user input in text fields, but not for textareas. This may reflect the differences in the way these form objects are structured: text input fields feed the data to the value="xxxx" attribute; text areas place it between two sets of textarea tags. ---- Manual Page -- http://www.php.net/manual/en/function.htmlentities.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38060 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38060&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38060&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61486) next »