Help Required

hi,

I am working on a Flash / PHP / MySQL project and I need some help. I am passing a variable from Flash to PHP and the output which I want from the database is in multiple lines. So as far as I feel it requires an array. Now I am confused that where should I use an array, in the Flash script or in the PHP script. The technique which comes in my mind is shown below:

  1. Make a variable in flash and it should read:
Array MyArray = new Array();

then

loadVariablesNum("[http://office/test7.php](http://office/test7.php)", 0, "POST");

then just to check do a trace, write this after the loadVariablesNum line

 
for(i=0; i<=myArray.length; i++){
	 trace(myArray*);
}

 
for(i=0; i<=myArray.length; i++){
	 dynaTextBox 

+= myArray* + " ";
}

 
 
then similarly you can populate the dynamic textfield using for loop
 

for(i=0; i<=myArray.length; i++){
dynaTextBox += myArray* + " ";
}

 
 
 
If this technique is correct then do tell me about, else please help me in this matter. In the above mentioned technique I am confused whether I have to use an array in the PHP script also or not.
 
Regards,
Xeeschan