[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 exam_result where exam_no=’$examno’ AND password=’$password’ AND classof=’$classof’ AND semester=’$semester’ AND myset=’$myset’ limit 1”;
$r = mysqli_query($con, $q);
$xp = mysqli_num_rows($r);
if($xp!=0)
{
$row = mysqli_fetch_array($r);
extract($row);
echo “
RESULT SHEET FOR “.$semester.” SEMESTER “.$classof.” (Set “.$myset.”).
“;
echo “
| EXAM NUMBER | $exam_no |
| ANA/PHY | $ana_phy |
| PHC | $phc |
| FON/A | $fon_a |
| MICRO | $micro |
| SOC | $soc |
| PSY | $psy |
| APP/SC | $app_sc |
| NUT | $nut |
| PHARM | $pharm |
| ENG | $eng |
| REMARK | $remark |
“;
echo “
“;
} else {
echo “E-RESULT CHECKER
Result not found
Steps to print result sheet
- Enter your Examination Number
- Enter your Password, provided by management
- Select your Session
- Select your Set
- Select the semester
“;
echo “
“;
}
//post not
} else {
echo “E-RESULT SHEET
Steps to print result sheet
- Enter your Examination Number
- Enter your Password, provided by management
- Select your Session
- Select your Set
- Select the semester
- Click ‘Check Result’ menu to proceed
“;
echo “
“;
}
[/insert_php]