for($i=0;$i<$module->getNbPerson();$i++)
{
$module =unserialize($_SESSION["module"]);
echo'<table>
<tr>
<td>Nom:</td>
<td><input type="text" name="nom[]"></td>
</tr>
<tr>
<td>Age:</td>
<td><input type = "text" name ="age[]"></td>
</tr>
</table>
</form>';
$module->AddPerson(nom[],age[]);
$_SESSION['module']= serialize($module);
}
$module č il modulo! non riesco ad avere accesso alle variabili "nom[]" e "age[]" nč dentro nč fuori da questo pezzo di codice! credo che il problema sia di sintassi visto che sto lavorando dentro un ciclo for! per favore aiutatemi!!!