KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
What is the best way to format XML within a PHP class. $xml = "<element attribute=\"something\">...</element>"; $xml = '<element attribute="something">...</element>'; $xml = '<element attribute=\'something\'>...</element>'; $xml = <<<EOF <element attribute="something"> </element> EOF; I'm pretty sure it is the last one!
Tags (comma-separated)
Save Edits
Cancel