Re: passing array to another php file

From: Date: Thu, 11 Apr 2002 08:37:44 +0000
Subject: Re: passing array to another php file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-92529@lists.php.net to get a copy of this message
two possibilities: - put your array in a form with hidden fields - use sessions I would prefer the second option (check manual for sessions) Greets, Edward ----- Original Message ----- From: "Hirono Tanaka" <php_hunter@hotmail.com> To: <php-general@lists.php.net> Sent: Thursday, April 11, 2002 10:33 AM Subject: [PHP] passing array to another php file > Hi, does anyone know how to pass an array to different php file? > > Let's assume I have an array $array[] in sample1.php. I want to pass the > array to a different php files by doing something like: > > <a href=\"sample2.php?array=".$array[]."\">...</a> > > This didn't work actually. I can't think of any other wayto do this. > Please help. Thanks. > > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: > http://messenger.msn.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#92529) next »