I'm trying to pass an array via $_GET similar to the following:
// code that builds the array
$foo[] = 1;
$foo[] = 2;
$foo[] = 3;
header("location: form.php?foo=$foo");
When I submit my form, I see 'http://../form.php?foo=ARRAY' in the
browser location bar, and the contents of $foo are no longer
accessible. I looked at the serialize() function, but it doesn't seem
to work, either.
Is there a way to pass array vars via $_GET and still access them on
another page?
THanks,
Bob
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/HKFolB/TM
--------------------------------------------------------------------~->
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php-list/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/