Exemplo n.º 1
0
    }
    if (isset($_POST['blood'])) {
        $blood = $_POST['blood'];
    }
    if (isset($_POST['mobile'])) {
        $mobile = $_POST['mobile'];
    }
    if (isset($_POST['email'])) {
        $email = $_POST['email'];
    }
    if (isset($_POST['password'])) {
        $pass = $_POST['password'];
    }
    if (isset($_POST['year'])) {
        $year = $_POST['year'];
    }
    if (isset($_POST['graduation'])) {
        $uni = $_POST['graduation'];
    }
    if (isset($_POST['job'])) {
        $job = $_POST['job'];
    }
    $signup = new signup($fname, $lname, $bdate, $sex, $blood, $mobile, $email, $pass, $year, $uni, $job);
    $signup->insert_into_students();
}
?>

</body>

</html>