Re: Passing through Array's to another script
| From: | Chris Lee | Date: | Tue, 18 Dec 2001 16:31:33 +0000 |
| Subject: | Re: Passing through Array's to another script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78090@lists.php.net to get a copy of this message | ||
foreach( $array_name as $pos => $val )
echo "
<input type=hidden name='array_name[$pos]' value='$val'>
";
or use sessions.
--
Chris Lee
lee@mediawaveonline.com
"Gkin" <gkin@cyntrix.nl> wrote in message
news:20011218134212.94343.qmail@pb1.pair.com...
> 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?
>
>