şu hatayı alıyorum : Notice: Undefined index: esnaf_id in
<?php include 'header.php'; ?>
<?php
$sql ="SELECT * FROM esnaf WHERE esnaf_id = ?";
$sorgu = $db->prepare($sql);
$sorgu->execute([
$_GET['esnaf_id']
]);
$satir = $sorgu->fetch(PDO::FETCH_ASSOC);
?>
<input type="text" class="form-control" name="firma_adi" value="<?php echo $satir['firma_adi']; ?>">