fetching xml values from xml files using Simple XML
//fetching values from the xml files
$xml_content = simplexml_load_file('example.xml');
foreach ($xml_content as $fields){
$resultfirstname=$fields->firstname;
$resultlastname=$fields->lastname;
$resultdescription=$fields->description;
}
Output
Showing posts with label fetching xml values from xml files using Simple XML. Show all posts
Showing posts with label fetching xml values from xml files using Simple XML. Show all posts
[Wednesday, October 17, 2007
|
0
comments
]
Popular Posts
- Elgg : The most popular open source social networking platform
- function to check whether the year given is a leap year or not
- How to create a plugin in elgg.
- some php questions
- Mysql optimization by configuring the query cache
- Pattern Matching in mysql
- php Questions
- creating dynamic elements in HTML using Javascript.
- php questions
- Jquery based dynamic adding and removal of html elements.