using Flash, I'm sending a bunch of variables to my php script that have ordered names. What I want is to use a "for" loop to identify each variable. This is how I would do it in Flash but don't know how to do it in php...
-
for(i=0; i<3; i++){
-
this["Item"+i] = i;
-
}
-
-
// the above code would be identical to typing the following...
-
-
Item0 = 0;
-
Item1 = 1;
-
Item2 = 2;
-
-
granted i know there's normally a $ for variables in php... but my real concern is how to get this["Item"+i] = i; to work.
Thanks for any help