On Monday 25 November 2002 16:48, David Russell wrote:
> Hi all,
>
> I have a multiple select called Consultants[] In one page.
>
> On the target page, how would I reference it? Would it be:
>
> $_POST['Consultants'][0]
> $_POST['Consultants'][1]

If in doubt, print it out (TM):

  print_r($_POST);

The best way to do it (IMHO) is to:

  foreach ($_POST['Consultants'] as $key => value) {
    print "$key: $value<br>";
  }


-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Make it myself?  But I'm a physical organic chemist!
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to