wahsaga: ${...} dyn. Arrayvariable

Beitrag lesen

hi,

sorry, du kennst ja das Array nicht.
Für Bild1 sieht das z.B. so aus: $bild1 = array(0,1,0,1,0,0,0,2,0,3,0,0,"1b1.jpg");

Denke jetzt verstehst du dass ich nicht alle Bilder in 1 Array packen will.

ein array kann mehr als eine dimension haben.

$bilder = array(
   'Bild1' => array(0,1,0,1,0,0,0,2,0,3,0,0,"1b1.jpg"),
   'Bild2' => array(...),
   ...);

gruß,
wahsaga

--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."