iceblizzard Posted December 22, 2010 Share Posted December 22, 2010 Basically I'm reading a local xml file, extracting data, and passing array over to a MySql function. Also, when each record is extracted I need to know the full parent-child category it was listed under. for example: <root> <node value="first"/> <node value="second"/> <header label="Numbers"> <header label="Roman numerals"> <node value="I"/> <node value="XV"/> </header> <node value="1"/> <node value="10"/> </header> </root> Link to comment https://forums.phpfreaks.com/topic/222386-need-help-with-xml-parsing/ Share on other sites More sharing options...
micah1701 Posted December 22, 2010 Share Posted December 22, 2010 http://php.net/manual/en/book.xml.php should be enabled in your PHP installation by default. see the examples in http://us2.php.net/manual/en/function.xml-parse.php Link to comment https://forums.phpfreaks.com/topic/222386-need-help-with-xml-parsing/#findComment-1150456 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.