>>and now to the second part... why use htmlentities()? that is for >>displaying data within a form element OR (i hope i have this right) >>preventing XSS (Cross Site Scripting attacks). Yep, for displaying the data in the HTML's textbox and to allow us to redo the data before resubmitting it.
Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php