Не могу понять в чем ошибка и почему поля пустые
Обработчик:
$post5 = '';
if($_SERVER['REQUEST_METHOD'] === 'GET' && isset($_GET['id'])) {
$post5 = selectOne('lk', ['id' => $_GET['id']]);
$id3 = $post5['id_user'];
$familia = $post5['familia'];
$name = $post5['name'];
$otchestvo = $post5['otchestvo'];
$seriapasport = $post5['seriapasport'];
$nomerpasport = $post5['nomerpasport'];
$datepasport = $post5['datepasport'];
$adress = $post5['adress'];
$telephone = $post5['telephone'];
$emale = $post5['emale'];
}
Форма:
<div class="container">
<form action="user.php" method="post" class="row justify-content-center">
<input type="hidden" name="id" value="<?=$id3; ?>">
<div class="row">
<?php include "../../app/include/sidebar-admin.php"; ?>
<div class="posts col-9">
<div class="row title-table">
<h2>Личный кабинет</h2>
<div class="col-4">
<label for="exampleFormControlInput1" class="form-label">Фамилия</label>
<input name="famil" value="<?=$post5['familia']; ?>" type="text" class="form-control" disabled>
</div>
<div class="col-4">
<label for="exampleFormControlInput1" class="form-label">Имя</label>
<input name="name" value="<?=$post5['name']; ?>" type="text" class="form-control" disabled>
</div>
<div class="col-4">
<label for="exampleFormControlInput1" class="form-label">Отчество</label>
<input name="otch" value="<?=$post5['otchestvo']; ?>" type="text" class="form-control" disabled>
</div>