testform.php
367 Bytes
<html>
<body>
<form action="" method="post">
Name: <input type="text" name="name" /><br>
E-mail: <input type="text" name="email" /><br>
<input name="retest[1]" type="checkbox" value="1"/>
<input name="retest[2]" type="checkbox" value="2"/>
<input name="retest[3]" type="checkbox" value="3"/>
<input type="submit">
</form>
</body>
</html>
<?php print_r($_POST); ?>