Hi, how do I store PHP variables in an XML document?
For example:
<somexml>
<name><? $name = "Paul"; ?></name>
<age><? $age = "20"; ?></age>
</somexml>
When I parse XML, I see the contents of the XML, which is <? $name = "Paul"; ?> and <? $age = "20"; ?> but it suppose to be invisible since it's php variables...
I even tried:
<somexml>
<name><![CDATA[<? $name = "Paul"; ?>]]></name>
</somexml>
With no luck... same thing.