RE: [PHP] more proplems with passing arrays

From: Date: Sun, 02 Nov 2003 19:30:07 +0000
Subject: RE: [PHP] more proplems with passing arrays
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-168349@lists.php.net to get a copy of this message
> -----Original Message----- > From: Robb Kerr [mailto:rkerr@digitaliguana.com] > Sent: Sunday, November 02, 2003 2:20 PM > To: php-general@lists.php.net > Subject: [PHP] more proplems with passing arrays > > > I'm trying to pass an array variable from a search page to > the results page via GET. The $NAMES variable contains an > array which is obtained from the URL. Per a previous > suggestion I've been trying SERIALIZE/UNSERIALIZE but can't > get the variable to pass correctly. To take a look at my test > files follow this URL... > >http://www.cancerreallysucks.org/SerializeTest/Search01.htm > >Attached are the HTM & PHP files. Please take a look and tell me what's wrong. I appreciate any help. I just >>can't seem to get the seemingly simple thing to work. > >Thanx, >-- >Robb Kerr >Digital IGUANA >Helping Digital Artists Achieve their Dreams http://www.digitaliguana.com http://www.cancerreallysucks.org Watch names and surnames. In your select, you have surnames, and in your input field, you have names. And since you put the surnames[] values into a hidden input element, it's going to be retrieve via $_POST now, not $_GET. Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com

« previous php.general (#168349) next »