hi guys
need some help about parsing xml file using php
i'm a noob learning from scratch, hoping some one who can help me... tnx in advance...
here it goes,
my xml files
<playData>
<viewItem type="template" tempType="temp3D" stratTime="0" duration="-1">
<dataInfo id="0" size="104504" url="res/cloud.swf" />
</viewItem>
<viewItem type="image" stratTime="3" duration="3">
<info>
<caption>Caption # 1</caption>
<description><![CDATA[<p><font face="Tahoma" color="#FFFFFF" size="18">Description of some image # 1</font></p>]]>
</description>
</info>
<dataInfo id="1" size="266153" url="slides/image_0.jpg" />
</viewItem>
<viewItem type="image" stratTime="6" duration="3">
<info>
<caption>Caption # 2</caption>
<description><![CDATA[<p><font face="Tahoma" color="#FFFFFF" size="18">Description of some image # 2</font></p>]]>
</description>
</info>
<dataInfo id="2" size="611804" url="slides/image_1.jpg" />
</viewItem>
</playdata>
how can i view it on php codes and create an array using <form><input> to edit at the same time on browser?
hoping some one out there
thank you very much
need some help about parsing xml file using php
i'm a noob learning from scratch, hoping some one who can help me... tnx in advance...
here it goes,
my xml files
<playData>
<viewItem type="template" tempType="temp3D" stratTime="0" duration="-1">
<dataInfo id="0" size="104504" url="res/cloud.swf" />
</viewItem>
<viewItem type="image" stratTime="3" duration="3">
<info>
<caption>Caption # 1</caption>
<description><![CDATA[<p><font face="Tahoma" color="#FFFFFF" size="18">Description of some image # 1</font></p>]]>
</description>
</info>
<dataInfo id="1" size="266153" url="slides/image_0.jpg" />
</viewItem>
<viewItem type="image" stratTime="6" duration="3">
<info>
<caption>Caption # 2</caption>
<description><![CDATA[<p><font face="Tahoma" color="#FFFFFF" size="18">Description of some image # 2</font></p>]]>
</description>
</info>
<dataInfo id="2" size="611804" url="slides/image_1.jpg" />
</viewItem>
</playdata>
how can i view it on php codes and create an array using <form><input> to edit at the same time on browser?
hoping some one out there
thank you very much




Linear Mode

