I am currently trying to send arrays from flash to php. Sending is no problem. However I'm having problems linking the flash array to php variables. I am trying to receive the flash array like this:
Code: Select all
<?php
for ($n = 0; $n < 29; $n++){
$header[$n] = $_POST['header' . $n];
}
?>Code: Select all
<?php
for ($n = 0; $n < 29; $n++){
$header[$n] = $_POST['header[$n]'];
}
?>Code: Select all
<?php
$ins_tab = "insert into piSavedGames values
(NULL,
'$user',
'$pass',
'$savedGameName',
'$newBookPageCount'"
.join(',', $header);
?>thank you for your time in advance,
Mark Matthews