Mortekai Posted August 1, 2009 Share Posted August 1, 2009 I am trying to build a training diary using xml where I'll have one xml file holding date, length, time and comments, then one xml file holding type of activity. I want to be able to add to the diary and display the contents in a table below the form, but I am not sure where to begin.... Link to comment https://forums.phpfreaks.com/topic/168369-xml-training-diary/ Share on other sites More sharing options...
phpSensei Posted August 1, 2009 Share Posted August 1, 2009 Begin by learning how PHP and XML work together http://www.tutorialized.com/tutorial/How-to-use-XML-with-PHP/10224 Link to comment https://forums.phpfreaks.com/topic/168369-xml-training-diary/#findComment-888164 Share on other sites More sharing options...
Mortekai Posted August 1, 2009 Author Share Posted August 1, 2009 Always a good idea, but I already have my head deep in the books here I just wonder what the best approach would be. The XML file for type of activity I can just setup a XML file, but how do I load it into a dropdown field from there? Should I store the entries in an array and then parse out when printing the table below, or is there a better way? Link to comment https://forums.phpfreaks.com/topic/168369-xml-training-diary/#findComment-888174 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.