<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<form action="switch" method="post">
haribulan <input type="number" name="hariBulan" value="" />
<input type="submit" value="kira">
</form>
<?php
$v1 = "<b>KETUA<b>
<br/>
<p> Keutamaan dalam kerjaya, kerja dan kejayaan.
Mempunyai goal dalam hidup</p>";
error_reporting(E_ALL & ~E_NOTICE);
switch ($_POST['hariBulan']) {
case 1:
case 10: {
echo $v1;
break;
}
case 2: {
echo "Peace Maker";
break;
}
case 3: {
echo "Communicator";
break;
}
case 4: {
echo "Teacher";
break;
}
case 5: {
echo "Teacher";
break;
}
}
?>
</body>
</html>