RE: Re: INPUT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> 
> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux