$get=@mysql_fetch_assoc(mysql_query("SELECT * FROM DB"));
if($get < 1){
echo "kayit bulunmadi";
}else {
echo "kayit bulundu";
}