//Код обработчика, который инклюдится к форме
$forma = selectOne('osago');
if($_SERVER['REQUEST_METHOD'] === 'GET' && isset($_GET['id'])) {
$post = selectOne('osago', ['id' => $_GET['id']]);
$id = $post['id_user'];
$categorits = $post['categorits'];
$power = $post['power'];
$brand = $post['brand'];
$year = $post['year'];
$model = $post['model'];
$vin = $post['vin'];
$gosnumber = $post['gosnumber'];
$seriaSTS = $post['seriaSTS'];
$numberSTS = $post['numberSTS'];
$dateSTS = $post['dateSTS'];
$seriapasport = $post['seriapasport'];
$numberpasport = $post['numberpasport'];
$datepasport = $post['datepasport'];
$adres = $post['adres'];
$tel = $post['tel'];
$emale = $post['emale'];
}
//Часть кода лк с формой
<div class="container single1_form">
<form action="osago.php" method="post" class="row justify-content-center">
<?php if (isset($_SESSION['id'])): ?>
<input type="hidden" name="id" value="<?=$id; ?>">
<div class="row justify-content-center">
<div class="form_app">
<h2>Моя заявка</h2>
</div>
<div class="col-4">
<label for="exampleFormControlInput1" class="form-label">Категория ТС</label>
<input name="pow" value="<?=$forma['categorits']; ?>" type="text" class="form-control" disabled>
</div>
<div class="col-4">
<label for="exampleFormControlInput1" class="form-label">Мощность двигателя (л.с.)</label>
<input name="pow" value="<?=$forma['power']; ?>" type="text" class="form-control" disabled placeholder="Введите мощность..." >
</div>
</div>