[insert_php]
if(isset($_POST[‘check’]))
{
extract($_POST);
//connect and send reg details
$con = mysqli_connect(“localhost”, “conooorg_saly”, “{{Ssgkk4}}”)or die(“not connected”);
$db = mysqli_select_db($con, “conooorg_nursing”);
//chk result
$q = “select * from exam_result_cum where regnumber=’$examno’ AND password=’$password’ AND academicsession=’$classof’ limit 1”;
//print $q;
$r = mysqli_query($con, $q);
$xp = mysqli_num_rows($r);
if($xp!=0)
{
$row = mysqli_fetch_array($r);
extract($row);
echo “
CUMMULATIVE RESULT FOR $resultfor EXAMINATION
$academicsession ACADEMIC SESSION
“;
echo “
| NAME: | $studentname |
| REGISTRATION NUMBER: | $regnumber |
“;
echo “
| COURSE | 1ST SEMESTER | 2ND SEMESTER | TOTAL | CUM | REMARK |
|---|---|---|---|---|---|
| ANATOMY/PHYSIOLOGY AND PHARMACOLOGY | $phar_1st | $phar_2nd | $phar_total | $phar_cum | $phar_remark |
| MED-SURG I AND DIETETICS | $diet_1st | $diet_2nd | $diet_total | $diet_cum | $diet_remark |
| MED-SURG II AND MENTAL HEALTH | $health_1st | $health_2nd | $health_total | $health_cum | $health_remark |
| FON/ICT/RESEARCH/STATISTICS | $ict_1st | $ict_2nd | $ict_total | $ict_cum | $ict_remark |
| REPRODUCTIVE HEALTH AND PRIMARY HEALTH CARE | $phcn_1st | $phcn_2nd | $phcn_total | $phcn_cum | $phcn_remark |
| OSCE | $osce_1st | $osce_2nd | $osce_total | $osce_cum | $osce_remark |
“;
echo “NOTE
“;
echo “
- Candidates without REF should continue to the next block of their study.
- Candidates with 1 AND 2 REF should prepare to write the exam $refdate.
- Candidate with 1 and 2 REF are to pay N5000 to the College Union Bank account.
“;
echo “
“;
echo “
“;
echo “
“;
echo “
“;
echo ‘
} else {
echo “E-RESULT CHECKER.
Result not found
Steps to print result sheet
- Enter your Registration Number
- Enter your Password, provided by management
- Select your Session
- Click ‘Check Result’ menu to proceed
“;
echo “
“;
}
//post not
} else {
echo “E-RESULT SHEET.
Steps to print result sheet
- Enter your Registration Number
- Enter your Password, provided by management
- Select your Session
- Click ‘Check Result’ menu to proceed
“;
echo “
“;
}
[/insert_php]