I have a admin tools page that allows me to pull up the account of any registered user. At the top of the page is the person’s name:
The code to produce this at the top is:
<th colspan=‘2’><h3>$firstname $lastname</h3></th>
Further down the page I have editable fields where I can make changes, if needs be, to their name and other information. Here is the code:
<input class=form name=‘firstname’ id=‘firstname’ size=50 maxlength=50 value=‘$lastname’>
However, the letters after the ’ are removed and so the name shows up in the input field as:
How come the name displays correct at the top of my page, but inside an input field, it doesn’t seem to like apostrophes?