after working through all the php and mySql-stuff its just unbelievable that this should be too much...., here we go:

I have some php reading out of sql and sending the variables into flash. works all fine. with variables. but I really have to use an array in flash to store the information! I never now how many values I get out of the database and I cant do all the sorting and actionscript with thousands of variables!
I tried something like

$row = mysql_fetch_array($result);

echo ("MYARRAY[" . $i . "][0]=");
echo ($row[0]);

in php, with MYARRAY being the array I want to use in flash.
Its just not working!

There must be a solution and I know someone of you out there has it!
Pleeeese help a backend newbie!