Welcome to WebmasterWorld Guest from 220.127.116.11
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.