Merhabalar PHP'de şöyle bir hata aliyorum,
[29-Jul-2019 08:13:48 UTC] PHP Notice: Undefined index: ayar_baslik in /home/**/public_html/1019/sys/islem.php on line 21
[29-Jul-2019 08:13:48 UTC] PHP Notice: Undefined index: ayar_harita in /home/**/public_html/1019/sys/islem.php on line 22
[29-Jul-2019 08:13:48 UTC] PHP Notice: Undefined index: ayar_foto in /home/**/public_html/1019/sys/islem.php on line 23
[29-Jul-2019 08:13:48 UTC] PHP Notice: Undefined index: ayar_gsm in /home/**/public_html/1019/sys/islem.php on line 24
[29-Jul-2019 08:13:48 UTC] PHP Notice: Undefined index: ayar_sabit in /home/**/public_html/1019/sys/islem.php on line 25
[29-Jul-2019 08:13:48 UTC] PHP Notice: Undefined index: ayar_faks in /home/**/public_html/1019/sys/islem.php on line 26
[29-Jul-2019 08:13:48 UTC] PHP Notice: Undefined index: ayar_mail in /home/**/public_html/1019/sys/islem.php on line 27
[29-Jul-2019 08:13:48 UTC] PHP Notice: Undefined index: ayar_port in /home/**/public_html/1019/sys/islem.php on line 28
[29-Jul-2019 08:13:48 UTC] PHP Notice: Undefined index: ayar_kmail in /home/**/public_html/1019/sys/islem.php on line 29
[29-Jul-2019 08:13:48 UTC] PHP Notice: Undefined index: ayar_sifre in /home/**/public_html/1019/sys/islem.php on line 30
[29-Jul-2019 08:13:48 UTC] PHP Notice: Undefined index: ayar_server in /home/**/public_html/1019/sys/islem.php on line 31
[29-Jul-2019 08:13:48 UTC] PHP Warning: PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/**/public_html/1019/sys/islem.php on line 32
[29-Jul-2019 08:13:57 UTC] PHP Notice: Undefined index: ayar_baslik in /home/**/public_html/1019/sys/islem.php on line 21
[29-Jul-2019 08:13:57 UTC] PHP Notice: Undefined index: ayar_harita in /home/**/public_html/1019/sys/islem.php on line 22
[29-Jul-2019 08:13:57 UTC] PHP Notice: Undefined index: ayar_foto in /home/**/public_html/1019/sys/islem.php on line 23
[29-Jul-2019 08:13:57 UTC] PHP Notice: Undefined index: ayar_gsm in /home/**/public_html/1019/sys/islem.php on line 24
[29-Jul-2019 08:13:57 UTC] PHP Notice: Undefined index: ayar_sabit in /home/**/public_html/1019/sys/islem.php on line 25
[29-Jul-2019 08:13:57 UTC] PHP Notice: Undefined index: ayar_faks in /home/**/public_html/1019/sys/islem.php on line 26
[29-Jul-2019 08:13:57 UTC] PHP Notice: Undefined index: ayar_mail in /home/**/public_html/1019/sys/islem.php on line 27
[29-Jul-2019 08:13:57 UTC] PHP Notice: Undefined index: ayar_port in /home/**/public_html/1019/sys/islem.php on line 28
[29-Jul-2019 08:13:57 UTC] PHP Notice: Undefined index: ayar_kmail in /home/**/public_html/1019/sys/islem.php on line 29
[29-Jul-2019 08:13:57 UTC] PHP Notice: Undefined index: ayar_sifre in /home/**/public_html/1019/sys/islem.php on line 30
[29-Jul-2019 08:13:57 UTC] PHP Notice: Undefined index: ayar_server in /home/**/public_html/1019/sys/islem.php on line 31
[29-Jul-2019 08:13:57 UTC] PHP Warning: PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in /home/**/public_html/1019/sys/islem.php on line 32
dosya ise şu şekilde
<?php
ob_start();
include 'baglan.php';
if (isset($_POST['genelayarkaydet'])) {
$ayarkaydet=$db->prepare("UPDATE ayar SET
ayar_baslik=:baslik,
ayar_harita=:harita,
ayar_foto=:foto,
ayar_gsm=:gsm,
ayar_sabit=:sabit,
ayar_faks=:faks,
ayar_mail=:mail,
ayar_port=:port,
ayar_kmail=kmail,
ayar_sifre=:sifre,
ayar_server=:server
WHERE ayar_id=0");
$update=$ayarkaydet->execute(array(
'baslik' => $_POST['ayar_baslik'],
'harita' => $_POST['ayar_harita'],
'foto' => $_POST['ayar_foto'],
'gsm' => $_POST['ayar_gsm'],
'sabit' => $_POST['ayar_sabit'],
'faks' => $_POST['ayar_faks'],
'mail' => $_POST['ayar_mail'],
'port' => $_POST['ayar_port'],
'kmail' => $_POST['ayar_kmail'],
'sifre' => $_POST['ayar_sifre'],
'server' => $_POST['ayar_server']
));
if ($update) {
echo "okz";
}
}
?>nerede hata yapmiş olabilriim