is ther a way to write some thing like this dynamicly?
$menu[]=array(1, 0, 'produkte', array(3, 1, 'software', array(7, 3, 'grafik'), array(8, 3, 'audio')), array(4, 1, 'hardware'));
$menu[]=array(2, 0, 'service', array(5, 2, 'konzeption'));
$menu[]=array(9, 0, 'kontakt');
a wont to create an multy-dim-array from mysql-record-set. so i can send it to flash via amf. i got the logik and sql funct.
i just don't know the way how to write multy-dim-arrays DYNAMICLY in php.
can anybody giv a brif description with some basic example?
or point me to some refeerenz