Mohsin Posted September 19, 2012 Report Share Posted September 19, 2012 I have the following XML tree: <?xml version="1.0" encoding="utf-8"?> <root> <start_info> <info tabindex="1"> <infonumber>1</infonumber> <trees>green</trees> </info> </start_info> <people> <pe> <people_ages> <range number="1"> <age value="1">1</age> <age value="2">2</age> </range> </people_ages> </pe> </people> </root> Firstly I have to display all of the nodes in the checkbox and then their node value have to retrieve on submit of the file. I have to do it using PHP. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted September 20, 2012 Report Share Posted September 20, 2012 I'd suggest looking at SimpleXML. I'm sure you will find a huge number of resources if you search for "loading" or "reading" xml data. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.