Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

data XML

<?php
$xmldata = simplexml_load_file("employees.xml") or die("Failed to load");
foreach($xmldata->children() as $empl) {         
 echo $empl->firstname . ", ";     
 echo $empl->lastname . ", ";     
 echo $empl->designation . ", ";        
 echo $empl->salary . "<
>"; 
} 
?>
Source by tecadmin.net #
 
PREVIOUS NEXT
Tagged: #data #XML
ADD COMMENT
Topic
Name
5+4 =