Re: re:another form question

by "Paul Roberts" <hwg(at)roberts200025.freeserve.co.uk>

 Date:  Tue, 11 May 2004 08:34:41 +0100
 To:  <hwg-techniques(at)hwg.org>
 References:  edu
  todo: View Thread, Original
you can put the checkboxes into an array in php by putting [] after the =
name (square brackets) variable[] just give each box the same name

<.input type=3D"checkbox" name=3D"input[]" value=3D"1" /> option 1<.br =
/>
<.input type=3D"checkbox" name=3D"input[]" value=3D"2" /> option 2

the programmer can then deal with the array, probably the same as an =
option fields in fact.

Best Wishes

Paul Roberts
mail at Paul-Roberts dot com

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA