ToonMariner Posted January 26, 2010 Share Posted January 26, 2010 Hi there... I am using the DOM to create forms from a form template... I simply load the markup I have and use the do to repeat things like checkboxes etc etc. all is well apart from the fact that once I use $dom->saveHTML() (or saveXML() for that matter) and remove the doctype and html and body tags it auto inserts I am left with input elements that are not closed... I SHOULD get <input type="xxx" /> but get <input type="xxx"> any help much appreciated... Link to comment https://forums.phpfreaks.com/topic/189876-using-dom-to-create-xhtml-not-keeping-singleton-tags/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.