Hi
Does anyone know how I can populate a list box from an xml file?
Thanks
populating a list box from XML
Moderator: General Moderators
-
steve@oeic.net
- Forum Newbie
- Posts: 8
- Joined: Wed Feb 18, 2004 2:47 pm
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.
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.
http://www.w3schools.com if i am not mistaken