Input field containing double quotes value
html, php
Solution
Use htmlentities:
<input value="<?php echo htmlentities($value);?>">
Problem
In my PHP project I have a value containing special characters like ",', etc. (" 5 " inches, '3.5' inches, etc.). But it does not appear in a text field. How can I display this? Is it possible to display this value in a text box?