[B]How to send arrays throught the form to next page:[/B]
I tried to send a array to next page using Form but i got errors
this is the code:
First Page
<form name="msg" method="post" action="1.php">
<input type="hidden" name="email" value="'.$e.'" />
.....
<input type="submit" name="submit" value="submit">
</form>
In 1.php the code to get the array i used is:
$email[] = $_POST['email'];
$ne = count($email);
// i tried to print the values here:
for($i=0; $i<$ne;$i++)
{
echo $email[$i];
}
i get the result as array
what can i do?
give me some ideas