Re: pass array
| From: | jeremy brand | Date: | Thu, 02 Nov 2000 23:57:52 +0000 |
| Subject: | Re: pass array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23488@lists.php.net to get a copy of this message | ||
you can also just use normal <form>s.
<input type="array[key]" value="value1">
<input type="array[key]" value="value2">
<input type="array[key]" value="value3">
<input type="array[key2]" value="value1">
<input type="array[key2]" value="value2">
<input type="array[key2]" value="value3">
Then do your post or get.
-jeremy brand
_______________________________________________________________________
GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9
_ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more __
On Thu, 2 Nov 2000, Chris Sano wrote:
> Date: Thu, 02 Nov 2000 18:49:30 -0500
> From: Chris Sano <csano@choiceoneonline.com>
> To: AJDIN BRANDIC <abrandic@coventry.ac.uk>, php-general@lists.php.net
> Subject: Re: [PHP] pass array
>
> Yes.. use serialize() to serialize it and pass it via a hidden form field or
> query string (never tried this one before) and then unserialize it on the
> other end..
>
> ----- Original Message -----
> From: "AJDIN BRANDIC" <abrandic@coventry.ac.uk>
> To: <php-general@lists.php.net>
> Sent: Thursday, November 02, 2000 11:38 AM
> Subject: [PHP] pass array
>
>
> > Hi,
> >
> > Is it possible to pass an array from one page to another without using
> > cookies or sessions. ie. as a hidden form feild or
> href=blah.php3?myarray[]
> > ??????
> >
> > Thank you,
> >
> > Ajdin
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>