Hi,
Hab den Code jetzt folgend geändert:
$array=$xml->spiel; while($count < 5)
<?=$array[$count]->name1; ?>
Wenn du die Elemente jetzt sowieso über einen nummerischen Index ansprichst - wieso nimmst du dann nicht gleich eine for-Schleife?
MfG ChrisB
--
Light travels faster than sound - that's why most people appear bright until you hear them speak.
Light travels faster than sound - that's why most people appear bright until you hear them speak.