Re: Re: How to escape apostrophe in HTML textbox exactly???
| From: | Scott Fletcher | Date: | Wed, 30 Jun 2004 18:40:45 +0000 |
| Subject: | Re: Re: How to escape apostrophe in HTML textbox exactly??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189339@lists.php.net to get a copy of this message | ||
>>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.