$sorgu=$db->prepare("SELECT * FROM ayarlar where ayar_id=:id"); $sorgu->execute(array( 'id'=>0 )); $vericek=$sorgu->fetch(PDO::FETCH_ASSOC);