$ks=mysql_query("select * from haber order by ID desc") or die (mysql_error());
while($ky=mysql_fetch_assoc($ks))
{
$nid =$ky['ID'];
$nad =$ky['baslik'];
$nac =$ky['metin'];
$nseo =$ky['seo'];
$ntr =$ky['tarih'];
$ures =$ky['resim'];
if(empty($ures))
{
$ures='resim-yok.jpg';
}
else
{
$ures=$ures;
}
?>
Read More...