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
- Mysql optimization by configuring the query cache
- creating dynamic elements in HTML using Javascript.
- Pattern Matching in mysql
- some php questions
- Creating Custom Module in VtigerCRM
- php questions
- How to create a plugin in elgg.
- php Questions
- question regarding socket