Add exams from exam100 to exam150
This commit is contained in:
13
exam104/index.php
Normal file
13
exam104/index.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
//Reading a XML file
|
||||
$xml = simplexml_load_file('example.xml');
|
||||
|
||||
foreach($xml->producer as $producer){
|
||||
echo $producer->name.' ('. $producer->age .')'. "<br>";
|
||||
foreach($producer->show as $show){
|
||||
echo $show->showname. ' ('.$show->showdate.')' .'<br>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user