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

Reply via email to