populating a list box from XML

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Anton_FA
Forum Newbie
Posts: 1
Joined: Thu Feb 19, 2004 4:53 pm

populating a list box from XML

Post by Anton_FA »

Hi

Does anyone know how I can populate a list box from an xml file?

Thanks
steve@oeic.net
Forum Newbie
Posts: 8
Joined: Wed Feb 18, 2004 2:47 pm

Post by steve@oeic.net »

It depends on the structure of your xml document. There are a number of good tutorials on this at http://www.php.net/manual/en/ref.xml.php
Check out the command xml_parse_into_struct, which doesn't create very intuitive (to me anyway) data structures, but does easily get your xml data into a php native format.
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

http://www.w3schools.com if i am not mistaken
Post Reply