query($sql); ?> query ("insert into Subjects101112 values ('$_SESSION[ID_number]', '$_SESSION[stream]', '$_SESSION[subj1]', '$_SESSION[subj2]', '$_SESSION[subj3]', '$_SESSION[subj4]', '$LO', '$Eng', '$IsiZ')"); if($subjects) { $con -> query ("update learner set Register = 'Registered', Stream = '$_SESSION[stream]' where IDNumber = '$_SESSION[ID_number]'"); $_SESSION['Register'] == "Registered"; header('Location: index.php'); } } } else { $subjects = $con -> query ("insert into Subjects89 values ('$_SESSION[ID_number]', '$Maths', '$NS', '$SS', '$EMS', '$Art', '$Tech', '$LO', '$Eng', '$IsiZ')"); if($subjects) { $con -> query ("update learner set Register = 'Registered', Stream = 'No stream' where IDNumber = '$_SESSION[ID_number]'"); } } } ?>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. printing and typesetting industry.
Sign Up