Código PHP:
$result=mysql_query('select * from noticias where categoria="general" order by fecha Desc LIMIT 10');
$totalregistros=mysql_num_rows($result);
while($row=mysql_fetch_array($result)){
//lo que imprimo con echo....
}mysql_free_result($result);