This is my XML schema
<?xml version="1.0" encoding="utf-8"?>
<photos>
<items id="01" name="Photo 01" img_small="sets/01/01.jpg" img_big="sets/01/01_thumb.jpg" set_id="01" set_name="Set 01">
<gowns>
<item id="1" name="Nice Gown" designer="Me" description="XYZ" price="5000" styling="No" makeuphair="Him" />
<item id="2" name="Pretty Gown" designer="You" description="ABC" price="6000" styling="Yes" makeuphair="Her" />
</gowns>
</items>
I’m looping through the photos<items> nodes and each photo has gowns and each gown has attributes.
How do build a multidimensional array that holds this data?
photos[id][gown][0] = attributes
doesn’t work