Welcome to WebmasterWorld Guest from 184.108.40.206
Is this not a problem with the double quotes "" in the $value variable ending the input field?
ie. <input value="This "thing" is red"> would get cut off after 'this'.
<input type="text" value="<?= htmlspecialchars($value)?>">
BTW, you should have a name="something" in the input tag as well.