Mailinglisten-Archive |
> $mon=12; $tag=31; $anzahl=100;
> nächster Datensatz:
> $mon=09; $tag=28; $anzahl=12;
> ...
>
> und die möchte ich nun einem Array zuweisen.
>
> Es soll nachher so aussehen:
> Anzahl["12"]["31"]["100"];
> Anzahl["09"]["28"]["12"];
$datum = array();
while(bierkasten == voll){
$datum[$mon] = array();
$datum[$mon][$tag] = array();
$datum[$mon][$tag][$anzahl] = true;
}
die schleife zum füllen musst du jetzt nur noch selber bauen.
kiri
php::bar PHP Wiki - Listenarchive