I’m sending a series of integers from Flash using sendAndLoad, simmilar to:
infoSend.imageTotal = 3
infoSend.imageNum1 = 435
infoSend.imageNum2 = 45
infoSend.imageNum3 = 9
infoSend.sendAndLoad(“http…”, infoLoad, “POST”);
my question is, how do I parse the data on the PHP side?
right now I have a while loop
while( $i <= $imageTotal){
[color=Red] $tempID = $imageNum[$i];[/color]
$result = mysql_query(‘SELECT * FROM tbl_mov WHERE movID=’.$tempID.’’,$dbcnx);
$data = mysql_fetch_array($result);
$str = $data[‘img_thumb’];
echo ‘&imgID=’.$i;
echo ‘&imgLoc=’.$str;
$i++;
};
the line in red is the only one I know isn’t working… anyone know how to structure it?