ok, but it's normal that if i use this code i don't recive any output?
<?php
$multiarray = array("Gennaio" => array("day" => 20,"month" => 'Gennaio',"year" => 2004),
"Febbraio" => array("day" =>25,"month" => 'Febbraio',"year" => 2004)
);
echo '
<form action="due.php" method="POST">
<input type="hidden" name="multiarray" value="' . htmlspecialchars(serialize($multiarray)) . '">
<input type="submit" name="submit" value="submit">
</form>
';
?>
this is the page that display the data recived :
<?php
$mioArray = unserialize($HTTP_POST_VARS['multiarray']));
foreach ($mioArray as $key => $val)
{
if(is_array($key))
{
foreach ($key as $val2)
{
echo $val2."<br>";
}
}
else
{
echo $val;
}
}
?>