kalle123 Posted May 19, 2009 Share Posted May 19, 2009 Hi. First a sample of the XML I'm trying to read using XML DOM: <team_data> <team_players> <player> <player_name></player_name> </player> <player> <player_name></player_name> </player> </team_players> </team_data> I'm trying to loop the DOM to read every players name (there're more than two players and different numbers of players). Can anyone help me? Link to comment https://forums.phpfreaks.com/topic/158722-xml-dom-loop/ Share on other sites More sharing options...
Masna Posted May 19, 2009 Share Posted May 19, 2009 http://www.sitepoint.com/article/php-xml-parsing-rss-1-0/ Link to comment https://forums.phpfreaks.com/topic/158722-xml-dom-loop/#findComment-837082 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.