Merhaba aşağıdaki kodlarda hatayı bulamadım yardımcı olabilecek var mı?
İslem.php :
<?php
ob_start();
session_start();
include'baglan.php';


if(isset($_POST['kullanicikayit'])){

$deneme=$_POST['kullanici_mail'];
$deneme1=$_POST['kullanici_pass'];

$kullanicikayit=$db->prepare("INSERT INTO denemekullanici SET

kullanici_mail=:kullanici_mail,
kullanici_pass=:kullanici_pass,
yetki=:yetki

");

$kontrol=$kullanicikayit->execute(array(

$kullanici_mail=>$deneme,
$kullanici_pass=>$deneme1,
$yetki=> 0

));



if ($kontrol) {
header("location:giris.php?durum=ok");
}

else{
header("location:kayit.php?durum=no&kullanici=$deneme;&kullanicisi=$deneme1");
}

}
?>
Kayit.php:
 <?php if($_GET['durum']==no){ ?> <h5> <?php echo "Başarısız işlem"; } ?> </h5>


<form action="islem.php" method="POST">
<input type="email" name="kullanici_mail" placeholder="mail adresiniz" required="">
<input type="password" name="kullanici_pass" required="" >
<button type="submit" name="kullanicikayit">kayıt ol</button>
</form>
Baglan.php:
 <?php


try {

    $db=new PDO("mysql:host=localhost;dbname=eticaret;charset=utf8",'root','123456789');
    echo "başarılı";

    
} catch (PDOException $e) {
    echo $e-> getmessage();
}


 ?>