ok i was trying to put this value1 to a hidden input but it wont work if you know what function can i use to change the special charter with there proper name like " as " and & as & and also > as <
$value1 = "ok \ ok > \" \' \" ";
// you will c it display half value to the broswer.
<input type=hidden name="try" value="<? echo $value1 ?>">
// can you please tell me what function will i use to replace > " ' < ? this value with there proper html names.