foreach( $array_name as $pos => $val )
echo "
<input type=hidden name='array_name[$pos]' value='$val'>
";
or use sessions.
--
Chris Lee
[EMAIL PROTECTED]
"Gkin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I want to pass through an array with content to another script. The array
is
> correctly filled with data. To do this I use the following code:
> <FORM METHOD='post' ACTION='script.php?xtabel = <? print($xtabel); ?>'>
>
> The content of the array is not recognised in the script.php. What is the
> best way to do this?
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]