- This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I have an xml file of events:
Using php I want to output all the events under the month:
foreach($xml->quarter->month as $month)
{
echo $month->event.’
‘;
}
I get the first event for each month. i want all the events to print. I’ve looked on php.net and it seems correct. any ideas?
good point about the xml structure.
and the extrea foreach did the trick. thanks!