RE: [PHP] Re: INPUT
| From: | Jim Moseby | Date: | Thu, 10 Aug 2006 19:39:45 +0000 |
| Subject: | RE: [PHP] Re: INPUT | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-240493@lists.php.net to get a copy of this message | ||
>
>
> By the last answers i saw that someone do not understand wath
> i wanted to
> say.
>
> My strigs are always rightly escaped, but when i get it into
> a html form
> like <input type="text" value="<? echo $field;?>"> it gets
> <input
> type="text" value="Sony 29" TV"> that is, the value of my
> input field lost
> part of the content.
>
<input type="text" value="<? echo htmlentities($field);?>">
http://php.net/htmlentities
JM