Du könntest die Stelle, an der du das Bild einbindest, per PHP ausgeben lassen, und zwar je nach dem Wert von $bildnr. Also ca. so:
So würdest du auch kein Array brauchen, wenn du's trotzdem nehmen willst, kannst du das <img> und </a> Tag außerhalb vom switch-case schreiben.
...wenn ich das Ganze richtig verstanden habe.
Zitat
mfg Selar
...
--
A human is a system for converting dust billions of years ago into dust billions of years from now via a roundabout process which involves checking email a lot.