validado con php
Código PHP:
Ver original<?php
echo "es nulo";
}else{
echo $_POST['chktest'];
}
?>
<!DOCTYPE html>
<html>
<head></head>
<body>
<form action="" method="post">
<input type="checkbox" name="chktest" value="check 1">
<input type="checkbox" name="chktest" value="check 2">
<input type="submit" value="enviar">
</form>
</body>
</html>