Re: Classes and Forms?
| From: | Matt McClanahan | Date: | Thu, 24 Aug 2000 18:20:00 +0000 |
| Subject: | Re: Classes and Forms? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13482@lists.php.net to get a copy of this message | ||
On Thu, 24 Aug 2000, TaoX { Brian Hinson; } wrote:
> Is it possible to pass a class variable to another php page? Can this be
> done with a form? The class I have has an array of user info as a
> member/property of that class and may have other members later.
>
> Anyone done this before?
There are several options for doing this. One would be to
serialize/urlencode the array and stick it in the form as a hidden
variable. Another would be to step through the array and build it into
the form as a mass of hidden variables.
Matt