$sql="select date_format(n_date,'%m/%d/%Y') as n_date, date_format(n_date,'%H:%i') as n_time , news , n_date as date from news order by n_date desc limit $show_news"; } $result=mysql_query($sql,$db); $num_rows=mysql_num_rows($result); if($num_rows!=0) { echo "