miao,
ho la necessità di dover passare un array (non conosco a prescindere quanti valori può avere) da un form html a un file php....
il codice html è questo (almeno una parte...)
codice:
<form method=post action="scriviparametri.php">
<?echo $msg078;?><input size="50" name="phpmyadminserver" maxlength=50 type="text" value=<?echo $phpmyadminserver;?>>
<?echo $msg079;?><input size="50" name="logproxy" type="text" maxlength=50 value=<?echo $logproxy;?>>
<?echo $msg080;?><input size="50" name="psw" type="text" maxlength=50 value=<?echo $psw;?>>
<?echo $msg081;?><input size="10" maxlength=10 name="iniziostatistiche" type="text" value=<?echo $iniziostatistiche;?>>
<?echo $msg082;?><input size="50" name="serverxampp" maxlength=50 type="text" value=<?echo $serverxampp;?>>
<?echo $msg083;?><input size="10" name="winlinux" maxlength=10 type="text" value=<?echo $winlinux;?>>
<?echo $msg090;?><input size="3" name="lingua" maxlength=3 type="text" value=<?echo $lingua;?>>
<?echo $msg084;?><input size="2" name="numeropostazioni" type="text" maxlength=2 value=<?echo $numeropostazioni;?>>
<u><?echo $msg085;?></u>
<?
for ( $i = 0; $i < $numeropostazioni; $i++)
{?>
<?echo $msg017." = ".$chi2[$i];?> :
<input size="15" name="pc1[]" maxlength=10 type="text" value=<?=$pc[$i]?>> <?echo $msg086;?> * * *
<?echo $msg087;?><input size="15" name="percorsopostazione[]" maxlength=15 type="text" value=<?=$percorsopostazione[$i]?>>
<?}?>
<input type=submit value="<?echo $msg088;?>">
quale codice dovrei mettere dentro scriviparametri.php x potergli passare gli array "percorsopostazione" e "pc1" ?
grazie.