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
[Wednesday, October 17, 2007
|
0
comments
]
Popular Posts
- Creating Custom Module in VtigerCRM
- Contact Me
- Help with codeignitor
- Creating Google map and adding markers ans polyline on it
- Add/Remove text control using javascript
- function to check whether the year given is a leap year or not
- Random password generation :using ajax and jquery
- function to validate the a given credit card based on the card type and based on luhns algorithm
- Share your knowledge
- Php Questions
0 comments
Post a Comment
Please put your comments here. your questions, your suggestions, also what went wrong with me.