Re: array not extracting

From: Date: Thu, 04 Jan 2001 22:46:59 +0000
Subject: Re: array not extracting
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32757@lists.php.net to get a copy of this message
Hello Tom, (TB == "Tom Beidler") tbeidler@mindspring.com writes: TB> I have a form with fields named so I can create an array, ie TB> billing[name], billing[address], etc. The following page displays TB> what they've entered as a receipt and I've passed the variable TB> from the first page to the receipt as $billing. Everything worked TB> fine but then I had to add a form/page in between the two. I've TB> successfully passed the $billing in a hidden field from the new TB> page two to the final page/receipt but now it seems that I cannot TB> extract the array to populate the final page/receipt. Why not just carry over the fields as type 'hidden' in the same manner? Because, when the second form is submitted, it's no longer treating billing as an array (after all, you're using a single hidden field that's POSTed). That's why you 'cannot extract the array.' -Brian

« previous php.general (#32757) next »