$sorgu = $baglanti->prepare("SELECT * FROM ayarlar");
$sorgu->execute();
$ayarcek = $sorgu->fetch();
<head>
<title><?= $ayarcek['title']; ?></title>
<meta name="description" content="<?= $ayarcek['sitedesc']; ?>">
<meta name="keywords" content="<?= $ayarcek['keyw']; ?>">
<meta name="author" content="<?= $ayarcek['author']; ?>">
</head>