标签:php
<html>
<head>
</head>
<body>
<?php
$come = $_GET[a];
echo phpversion();
echo "cnt=".count($come);
for($i=0; $i<count($come); $i++)
{
echo ">>>".$come[$i]."---";
}
?>
<p><font color="red">hello</font></p>
<?php
?>
<form action="index.php" method="get">
a <input type="checkbox" name="a[]" value="on" />
b <input type="checkbox" name="a[]" value="off" />
c <input type="checkbox" name="a[]" value="on" />
<input type="submit">
</form>
</body>
</html>标签:php
原文地址:http://blog.csdn.net/hellochenlian/article/details/43836621