gaza165 Posted September 24, 2010 Share Posted September 24, 2010 Can someone tell me the best way to group elements in an XML file? <item> <title>Event 1</title> <dc:date>2010-09-25T01:00:00+01:00</dc:date> <dc:date>2010-10-02T01:00:00+01:00</dc:date> <dc:date>2010-10-09T01:00:00+01:00</dc:date> </item> <item> <title>Event 2</title> <dc:date>2010-09-25T01:00:00+01:00</dc:date> <dc:date>2010-10-02T01:00:00+01:00</dc:date> <dc:date>2010-10-09T01:00:00+01:00</dc:date> </item> Above is an example of what im trying to do and below is what i want the output to be 25th September 2010 Event 1 Event 2 2nd October 2010 Event 1 Event 2 And so on, can anyone point me in the right direction on where to start looking to do something like this in PHP. Thanks Garry Quote Link to comment https://forums.phpfreaks.com/topic/214289-grouping-elements-in-xml/ Share on other sites More sharing options...
gaza165 Posted September 24, 2010 Author Share Posted September 24, 2010 anybody? Quote Link to comment https://forums.phpfreaks.com/topic/214289-grouping-elements-in-xml/#findComment-1115102 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.