extracting array problem
| From: | Tom Beidler | Date: | Thu, 04 Jan 2001 11:21:53 +0000 |
| Subject: | extracting array problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-32629@lists.php.net to get a copy of this message | ||
I have a form with fields named so I can create an array, ie billing[name],
billing[address], etc. The following page displays what they've entered as a
receipt and I've passed the variable from the first page to the receipt as
$billing. Everything worked fine but then I had to add a form/page in
between the two. I've successfully passed the $billing in a hidden field
from the new page two to the final page/receipt but now it seems that I
cannot extract the array to populate the final page/receipt. Do I need to do
anything else? Sorry if this is a tad incoherent, it's 4AM and I'm tired.
I'm getting the following error on my final/receipt page;
Warning: Using scalar variable $billing as an array or object in
/usr/domain/fitovers/htdocs/dealer/speedform.php3 on line 1332
Thanks in advance,
Tom
>>.>>.>>>.>>>>>.>>>>>>>>>
Tom Beidler
Orbit Tech Services
805.455.7119 (cell)
805.682.8972 (phone)
805.682.5833 (fax)
tbeidler@mindspring.com
>>.>>.>>>.>>>>>.>>>>>>>>>