View file file/news/index.php

File size: 233B
<?php
Error_Reporting(E_ALL & ~E_NOTICE);
Error_Reporting (ERROR | WARNING);
$i=0;
$messages = @mysql_query("select * from `news` where type='news' order by id desc ;");

$count = @mysql_num_rows($messages);
echo "$count";
?>