Re: Re: Pass array in HTTP_POST_VARS question

From: Date: Wed, 04 Sep 2002 11:30:41 +0000
Subject: Re: Re: Pass array in HTTP_POST_VARS question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-115156@lists.php.net to get a copy of this message
Don't forget to use urlencode after serializing. David Robley wrote:
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


« previous php.general (#115156) next »