Hi
we need to import our products from an xml feed, I can read the xml into an multidimentional array from then on im stuck..
the xml feed is in the format shown below, what i need is to to loop the whole multidimentional array & output each into varaibles that i can use
ie .. $category_name = $arrXml[CREATED][CATEGORY][0]['@attributes']['name'];
but in a loop to display them all
-<STOREITEMS>
-<CREATED value="Fri Aug 26 1:01:01 BST 2011">
-<CATEGORY name=" > category name" id="69">
-<PRODUCT ITEM="1234">
<NAME>PRODUCT TITLE OR NAME</NAME>
<MODEL>MODEL NUMBER</MODEL>
<PRICE>7.00</PRICE>
<RRP>15.95</RRP>
<THUMB>BT2-Ss.jpg</THUMB>
<IMAGE>BT2-S.jpg</IMAGE>
<DESCRIPTION>product description</DESCRIPTION>
<POWER>product power<POWER/>
<SIZE>product dimentions<SIZE/>
-<ATTRIBUTES NAME="Size">
<ATTRIBUTEVALUES TITLE="Small" VALUE="16"/>
<ATTRIBUTEVALUES TITLE="Medium" VALUE="17"/>
<ATTRIBUTEVALUES TITLE="Large" VALUE="18"/>
</ATTRIBUTES>
</PRODUCT>
</CATEGORY>
</CREATED>
</STOREITEMS>