foreach( $array_name as $pos => $val )
    echo "
    <input type=hidden name='array_name[$pos]' value='$val'>

or use sessions.


  Chris Lee

"Gkin" <[EMAIL PROTECTED]> wrote in message
> I want to pass through an array with content to another script. The array
> 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 (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to