I am trying to retrieve a value from a MySQL database and display it using PHP in a text box.
When I use <input type="text" value="<?= $value?>"/> only the first part of $value is displayed. Anything after a space is truncated.
If i print $value elsewhere, it prints the whole string correctly.
Can anyone help me with this.