Hướng dẫn date of birth in php form - ngày sinh ở dạng php

Tôi có ba trang mà tôi muốn cập nhật một hàng hiện tại của một người dùng cụ thể bằng ID duy nhất của họ. Nhưng khi tôi nhấp vào liên kết cập nhật, nó hiển thị tất cả các trường với giá trị của họ ngoại trừ ngày sinh.Tôi đang cố gắng tìm ra vấn đề.Nhưng thất bại vì tôi khá mới với PHP.bất kỳ ai xin vui lòng giúp đỡ nếu bạn có thể.Đây là mẫu HTML của tôi

setData($_GET); $data = $object_for_showDetails->details(); $values = $data; ?>

Applicant's Information

Name of Applicant:*
Email:*
Gender:* />Male /> Female
Birth Date:*
Religion:*
Phone:*

Parent's information

Father Name::*
Mother Name::*
Guardian/Parent's Phone:*
Details| Update Info| Delete

Đây là tệp bản cập nhật của tôi.php của tôi

 setData($_POST);

    $object_of_update->update();
}
else{
    header("location:create.php");
}
?>

và cuối cùng là bản cập nhật methode trong phần nhập tệp lớp chính.php

Trong đó setData () dành cho việc đặt các giá trị và chi tiết () là để hiển thị dữ liệu tìm nạp dữ liệu từ cơ sở dữ liệu của một người dùng cụ thể và phương thức cập nhật () để cập nhật các giá trị từ cơ sở dữ liệu.

    public function store()
    {
        try {
            $pdo = new PDO ('mysql:host=localhost;dbname=university', 'root', '');
            $query_for_insert = "INSERT INTO `student_form`(`id`, `uid`, `student_name`, `email`, `birth_date`, `gender`, `religion`, `phone`, `father_name`, `mother_name`, `guardian_phone`) 
  VALUES (:id,:uid,:student_name,:email,:birth_date,:gender,:religion,:phone,:father_name,:mother_name,:guardian_phone)";
            $statement = $pdo->prepare($query_for_insert);
            $statement->execute(array(
                ':id' => null,
                ':uid' => uniqid(),
                ':student_name' => $this->name,
                ':email' => $this->email,
                ':birth_date' => $this->birth_date,
                ':gender' => $this->gender,
                ':religion' => $this->religion,
                ':phone' => $this->phone,
                ':father_name' => $this->father_name,
                ':mother_name' => $this->mother_name,
                ':guardian_phone' => $this->guardian_phone,
            ));
            if ($statement) {
                session_start();
                $_SESSION['message'] = "You have successfully Applied to the University Of Dhaka.Please Bring your Admit card during Admission test";
                header("location:register.php");
            }
        } catch (PDOException $e) {
            echo "Connection Error" . $e->getMessage();
        }

    }
public function update(){
     echo "update method";
    try {
        $pdo = new PDO ('mysql:host=localhost;dbname=university', 'root', '');
        $queryForUpdata = "UPDATE `student_form` SET `student_name`=:student_name,`email`= :email,`birth_date` =:birth_date,`gender`=:gender,`religion`=:religion,`phone`=:phone,`father_name`=:father_name,`mother_name`=:mother_name,`guardian_phone`=:guardian_phone WHERE uid="."'".$this->id."'";
        $statement = $pdo->prepare($queryForUpdata);
        $statement->execute(array(
            ':student_name' => $this->name,
            ':email' => $this->email,
            ':birth_date' => $this->birth_date,
            ':gender' => $this->gender,
            ':religion' => $this->religion,
            ':phone' => $this->phone,
            ':father_name' => $this->father_name,
            ':mother_name' => $this->mother_name,
            ':guardian_phone' => $this->guardian_phone
        ));
        if ($statement) {
            session_start();
            $_SESSION['message'] = "You have successfully Updated Your Information";
            header('location:register.php');
        }
    }
    catch (PDOException $e) {
        echo "Connection Error" . $e->getMessage();
    }

}

Xin vui lòng nếu bất cứ ai có thể sửa chữa điều này, tôi sẽ biết ơn bạn.