Page 1 of 1

populating a list box from XML

Posted: Thu Feb 19, 2004 4:53 pm
by Anton_FA
Hi

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

Thanks

Posted: Fri Feb 20, 2004 10:42 am
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.

Posted: Fri Feb 20, 2004 10:55 am
by ol4pr0
http://www.w3schools.com if i am not mistaken