$sql=mysql_query("select * from yazilar where ($baslik)");
değiştir
$sql=mysql_query("select * from yazilar where ($baslikk)");