4
我有以下的隐藏变量:
<input type="hidden" name="chk[10]" value = "cats">
<input type="hidden" name="chk[13]" value = "dogs">
<input type="hidden" name="chk[14]" value = "fish">
我想通过POST来获得这些变量并打印。我怎样才能在PHP中做到这一点?
感谢
http://php.net/types.array http://php.net/manual/en/control-structures.foreach.php – 2010-06-07 15:53:25