Pretty much 60% completed on my CMS at the moment, run into a slight problem which is slowing me down though
That problem is 'quotes' ...
When editing a record I grab the data from my database and place it into input tags for editing. Only problem is, if there's a quote in there the code thinks that it is the end of the input tag.
Leaving me with;
CODE
<p><label for="name">Name: <br /><input type="text" name="name" id="name" tabindex="2" value="Joe " something maxlength="30" /></label></p>
The actual data inside the database says 'Joe " something'
This only happens with input tags ... textareas are fine with displaying quotes and other characters.
Anyone ever run into these problems? Anyone know how to solve them?
TIA