> -----Original Message----- > From: Robb Kerr [mailto:[EMAIL PROTECTED] > Sent: Sunday, November 02, 2003 2:20 PM > To: [EMAIL PROTECTED] > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php