runQuery("SELECT * FROM members WHERE userEmail=:email_id"); $stmt->execute(array(":email_id"=>$email)); $row = $stmt->fetch(PDO::FETCH_ASSOC); if($stmt->rowCount() > 0) { $msg = "
Sorry ! This email address is allready in use , Please Try another one
"; } else { if($reg_user->register($fname,$gen,$mob,$subj,$qual,$email,$upass,$code)) { $id = $reg_user->lasdID(); $key = base64_encode($id); $id = $key; $message = " Hello $fname,

WELCOME TO GERAT MADONNA SCHOOL SYSTEM
Your account is created and is Waiting Activation and Approval
You can login to your account with the following details as supply Immediately your account is approved

Email : $email ,

Password : $upass ,

Thanks,"; $subject = "WELCOME TO GERAT MADONNA SCHOOL SYSTEM"; $reg_user->send_mail($email,$message,$subject); $msg = "
Success! We've sent an email to $email. With your account details as supplied to help you remember it. Please check your spam mail if you did not see the mail in your inbox. Click Here to Continue
"; } else { $msg = "sorry , Some thing went wrong, try again"; } } } // Checkbox is selected //} } ?> Home

STAFF REGISTRATION

Full Name Mobile Number Gender Your Qualification Subject Email PASSWORD Confirm Password