I have the XML file,
<root>
<items>
<webprotal-gallery>
<web-portal-urls>http://xxx.xom/image</web-portal-urls>
<web-portal-urls>http://xxx.xom/image</web-portal-urls>
<----- ----------- --------------- ------------>
</webprotal-gallery>
</items>
<items>
<webprotal-gallery>
<web-portal-urls>http://xxx.xom/image</web-portal-urls>
<web-portal-urls>http://xxx.xom/image</web-portal-urls>
</webprotal-gallery>
</items>
</root>
I want to push 'web-portal-urls' in to an associative array(key/value). My requrement is, When the user clicks on image, to show assosiative 'webprotal-gallery' in another page.
How to push gallery items in to an array.