Agree with Xan's code fix
embedding php inside html, it is important to get all the quotes in.
only add a usefula(maybe) caveat to the code he provided, a recommendation to change whatever editor used to something that code highlights
It becomes easy to see when something is missing if the text is some bright colour when a(the) quote(s) Brace(s) Bracket(s) < > is(are) missing
Notepad++ Notepad2 & a bunch of good code highlighting editors
without the quotes output html for a nul field is value= /> your visble backslash
with quotes a nul gives value="" />
Last edited by almostbob; Sep 9th, 2009 at 9:31 pm.
Reputation Points: 562
Solved Threads: 367
Posting Maven
Offline 2,970 posts
since Jan 2009