php对checkbox取值的用法和详细说明php的checkbox取值方式跟其它语言有点不同,主要是因为php中数组的合理使用。设我们有一个html页面,代码如下:<FORMmethod=postaction=checkTest.php><INPUTname=test[]type=checkboxvalue=1/><INPUTtype=checkboxname=test[]value=2/><INPUTtype=checkboxname=test[]value=3/><INPUTtype=checkboxname=test[]value=4/><INPUTtype=checkboxname=test[]value=5/><INPUTtype=submitname=Submit...