I have a form which users can edit.
One part of the form is a title field.
I get the previous title value and insert it into the field via PHP:
<input id="title" value=".$previousValue.">
The problem is, when the title has a " in it.
Say if the title was:
test"
It will only show this in the browser:
test
Upon an element inspection the " is there so nothing wrong with the PHP.
Can anyone tell me how to get the quote to show up on the browser?
Thanks