Below are outlines of courses for the current academic session

[insert_php]
echo ‘Enter your student registration number to view
‘;
echo ‘

‘;
echo ‘‘;
echo ‘‘;
echo ‘

‘;

//connect and chk details
$con = mysqli_connect(“localhost”, “conooorg_saly”, “{{Ssgkk4}}”) or die(“Technical Error – 1001”);
$db = mysqli_select_db($con, “conooorg_nursing”);

if(isset($_POST[‘stdno’]))
{
//check user
$stdno = $_POST[‘stdno’];
$r = mysqli_query($con, “select * from studentlist where studentno=’$stdno’ limit 1”);
if($r)
{
$x = mysqli_num_rows($r);

if($x==1){
//student found
$rows = mysqli_fetch_array($r);
extract($rows);

echo ‘

‘;

if($studentyear==1){
echo ‘

First Year Courses
Outline
First Semester
Second Semester

Course Materials
Anatomy
English Language
Psychology
Sociology
‘;
}

if($studentyear==2){
echo ‘

Second Year Courses
Outline
First Semester
Second Semester

Course Materials
Cervical Cancer
Nutrition

Reproductive Health I
Aneurysm
Cardiac Failure
Hypertension
ICT
Raynaud Syndrome
Thromboangiitis Obliterans
Varicose_veins

‘;
}

if($studentyear==3){
echo ‘

Third Year Courses
Outline
First Semester
Second Semester

Course Materials
Helminthic Infection
Medical Surgery
Medical Surgery 1
Reproductive Health II
Infectious Neurological Disorders
Community Health Nursing
Community Health Nursing II
Management of Patients with Celebrovascular Disorder
Birth Injuries
Cervical Cancer
Hookworm
‘;
}

} else { echo ‘ Student Not Found ‘; }

}else { echo ‘ Student Not Found ‘; }

}
[/insert_php]