Herzlich willkommen im Archiv vom ABAKUS Online Marketing Forum
Du befindest Dich im Archiv vom ABAKUS Online Marketing Forum. Hier kannst Du Dich für das Forum mit den aktuellen Beiträgen registrieren.
Code: Alles auswählen
<?php
$filename = 'deine-zanox-xml-datei.xml';
if(file_exists($filename)) {
$xml = simplexml_load_file($filename);
if($xml) {
foreach($xml->product as $product) {
?>
<table>
<tr>
<td>Überschrift</td>
<td><?php echo $product->name ?></td>
</tr>
<tr>
<td></td>
<td><?php echo $product->description ?></td>
</tr>
<tr>
<td></td>
<td><?php echo $product->price ?></td>
</tr>
</table>
<?php
}
} else {
echo ' <p>Die Datei names '. $filename .' konnte nicht geöffnet werden</p>';
}
}
?>