- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
...
<body>
<form action="top1.php" method="get">
<input type="checkbox" value="f1()" name="a1" > Windows 2000
<input type="checkbox" value="f2()" name="a2" > Windows 7
</form>
</body>
</html>
<?php
function f1(){
if($_POST['a1']){
echo 'Good';
}else
echo 'bad';
}
?>