> -----Original Message----- > From: Scott St. John [mailto:[EMAIL PROTECTED]] > Sent: 13 March 2002 21:32 > > I am working on a javascript box that will allow the user to > drag values > from one select box to another. I will use this box to set > the values. > This is a standard, multiple select box. On the next page I need to > figure out what PHP is doing with the data coming in. > > If I send 5 fields to the next page PHP will show me one when > I echo the > variable to the page.
Name your field with trailing brackets (e.g. <INPUT NAME="field_name[]" ...) and you will see it as an array in PHP containing your 5 (or however many) values. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php