posiblemente cometiste un error en tu consulta:
Código PHP:
<?
include ('conex.php');
$sql="SELECT * FROM notas WHERE seccion='Actualidad' AND online='si' ORDER by fecha DESC";
$resultado = mysql_query($sql);
echo mysql_error(); // Incluí esta linea para que revises bien de tu error MySQL.
if ($row = mysql_fetch_array($resultado)) { //esta es la línea 6
include ('formato.php');
}
?>