Jump to content

Logic Help


dietkinnie

Recommended Posts

Hi Guys,

 

Whisch is the best way to access this data ?

 

<library id="40000003511">
<section>History</sectiont>
<book id="9000001846" info="Italy" role="1">History of Rome</Participant>
<book id="57" info="England" role="2">History of London</Participant>
</library>

 

As you can see there are two books but they both belong to library['id '] = 40000003511. Shall i use a foreach loop to access the book['id'] and book['info'] or is there another method is should use ?

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/153065-logic-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.