Re: Pass array in HTTP_POST_VARS question

From: Date: Wed, 04 Sep 2002 02:39:31 +0000
Subject: Re: Pass array in HTTP_POST_VARS question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-115135@lists.php.net to get a copy of this message
In article <AGEOIIKDIJBPINCJIFJKIENOCIAA.pmaine@austin.rr.com>, pmaine@austin.rr.com says... > Is it possible to pass an array in a form post? If so, how do I reference > the array on the next page? > > Thank You > Paul > php I believe you may need serialize/unserialize here. Use serialize($array) to create a simple variable that can be passed, then at the other end, use unserialize to restore it. http://www.php.net/serialize for more info -- David Robley Temporary Kiwi! Quod subigo farinam

« previous php.general (#115135) next »