http://kennethtucker.com/kb/index.php?/archives/261-Passing-PHP-array-via-_GET.html
Regards, http://kennethtucker.com --- In [email protected], Bob Sawyer <[EMAIL PROTECTED]> wrote: > > 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 --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/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/
