REQUEST问题
<form name= "aa ">
<input type= "checkbox " name= "sdfadsfa " value=1>
<input type= "checkbox " name= "sdfadsfa " value=2>
<input type= "checkbox " name= "sdfadsfa " value=3>
<input type= "checkbox " name= "sdfadsfa " value=4>
<input type= "checkbox " name= "aaaaa " value=1>
<input type= "checkbox " name= "aaaaa " value=2>
<input type= "checkbox " name= "aaaaa " value=3>
<input type= "checkbox " name= "aaaaa " value=4>
<input type= "checkbox " name= "bbbbb " value=1>
<input type= "checkbox " name= "bbbbb " value=2>
<input type= "checkbox " name= "bbbbb " value=3>
<input type= "checkbox " name= "bbbbb " value=4>
</form>
checkbox的名字是读表的,提交之后怎么才可以取到选择的checkbox名字呢?最好是用ASP编程
------解决方案--------------------那你用hidden保存一下名字算了...这样简单点儿...
------解决方案--------------------你为什么要用表名来做表单的名字呢 建立一个数组来保存嘛 或者设置value 为表名+数字
------解决方案--------------------request1 = request( "sdfadsfa ")
if request1= "1 " then
…… ……
elseif request1= "2 " then
…… ……
elseif request1= "3 " then
…… ……
elseif request1= "4 " then
…… ……
end if
request2 = request( "aaaaa ")
if request2= "1 " then
…… ……
elseif request2= "2 " then
…… ……
elseif request2= "3 " then
…… ……
elseif request2= "4 " then
…… ……
end if
request3 = request( "bbbbb ")
if request3= "1 " then
…… ……
elseif request3= "2 " then
…… ……
elseif request3= "3 " then
…… ……
elseif request3= "4 " then
…… ……
end if