işlem.php ye geldiğiniz yerden ayar_keywords, ayar_facebook.. bunları post ediyor musunuz?
bu şekilde hocam.
<?php include '../baglan.php';
$ayarsor=$db->prepare("SELECT * FROM ayarlar where ayar_id=:id");$ayarsor->execute(array( 'id' => 0 ));$ayarcek=$ayarsor->fetch(PDO::FETCH_ASSOC);
phpinfo();
?>
<!DOCTYPE html><html><head> <title></title></head> <body> <div class="container"> <form id="contact" action="islem.php" method="post"> <h2>İletişim Sayfası</h2> <div class="form-control"> <?php
if ($_GET['durum']=="ok") {?>
<b style="color:green;">İşlem Başarılı...</b>
<?php } elseif ($_GET['durum']=="no") {?>
<b style="color:red;">İşlem Başarısız...</b>
<?php }
?>
<input placeholder="Adınız Soyadınız" type="text" name="ayar_keywords" autofocus value="<?php echo $ayarcek['ayar_keywords']; ?>"> </div> <div class="form-control"> <input placeholder="E-Posta Adresiniz" type="text" name="ayar_facebook" value="<?php echo $ayarcek['ayar_facebook']; ?>"> </div> <div class="form-control"> <input placeholder="Konu" type="text" name="ayar_twitter" value="<?php echo $ayarcek['ayar_twitter']; ?>"> </div> <div class="form-control"> <input name="submit" type="submit" id="submit" name="genelayarkaydet"> </div> </form> </div></body></html>