Data or value in $description from database is
<div><a href="www.google.com">Henry</a></div>
My HTML Code
<input type="textbox" id="textbox" value=""/>
<input type="hidden" id="hidden" value="<?php echo $description; ?>"/>
Output :

If the code be
<input type="hidden" id="hidden" value='<?php echo $description; ?>'/>
Its working fine !..Any one please tell me the issue ?
You are trying to have HTML code inside the value of a hidden input in a form? That doesn’t sound right.
If you need to keep it as it is, you should at least use htmlentities to make it a string:
An example: