Posted by blackberryoctopus on 01/11/07 16:21
I am receiving 40 variables from an external source into my php script.
I need to have for loop cycle through those and assign them to
variables in the php script. I am unsure of the syntax, but it would be
something like the following
for($i=0;$i<40;$i++){
$phpvar+$i = receivedData+$i
}
The data coming in is named as follows data1, data2, data3, ... data40.
So I need the php variables to be named in the same way. Whats the
syntax here? Thanks for any help.
[Back to original message]
|