[insert_php]

if(isset($_POST[‘check’]))

{
extract($_POST);

//connect and send reg details
$con = mysqli_connect(“localhost”, “conooorg_saly”, “{{Ssgkk4}}”);
$db = mysqli_select_db($con, “conooorg_nursing”);

//chk result
$q = “select * from hospital_final_result where regno=’$regno’ AND password=’$password’ AND diet=’$diet’ 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 “

$diet HOSPITAL FINAL RESULT

“;

echo “

“;
echo “

“;
echo “

“;
echo “

NAME: $studentname
REGISTRATION NUMBER:     $regno

“;

echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;

echo “

“;
echo “

COURSE SCORE
PAPER I “.number_format($paper1, 2).”
PAPER II “.number_format($paper2, 2).”
CAOSCE “.number_format($caosce, 2).”
TOTAL SCORE “.number_format($totalscore, 2).”
AVERAGE SCORE “.number_format($averagescore, 2).”
REMARK $remark

“;

echo “NOTE
“;
echo “

  • Candidates with REF should prepare to write the exam on the 1st of August 2024 and are to pay the sum of N5000 only before the exam to the account office in cash
  • “;
    echo “

  • Candidates without Ref should continue to the next block of their study
  • “;
    echo “

  • Candidates without Ref should continue to the next block of their study

“;

echo “

“;

} else {
echo “HOSPITAL FINAL RESULT CHECKER.

Result not found

Steps to print result sheet

  1. Enter your Registration Number
  2. Enter your Password, provided by management
  3. Select year
  4. Click ‘Check Result’ menu to proceed
  5. “;

    echo “

    “;
    echo “Registration Number: “;
    echo “Password: “;
    echo “Year: “;
    echo “

    “;

    }

    //post not
    } else {

    echo “HOSPITAL FINAL RESULT CHECKER.

    Steps to print result sheet

    1. Enter your Registration Number
    2. Enter your Password, provided by management
    3. Select year
    4. Click ‘Check Result’ menu to proceed
    5. “;

      echo “

      “;
      echo “Registration Number: “;
      echo “Password: “;
      echo “Year: “;
      echo “

      “;

      }

      [/insert_php]