Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/11/2009, 14:28
DJINVACION
 
Fecha de Ingreso: febrero-2008
Mensajes: 23
Antigüedad: 16 años, 2 meses
Puntos: 0
Noticiero php

Hola a todos antes que nada quiero agradecer a todos los que colaboran en esta web ya que he aprendido mucho sobre paginas web, pero bueno ahora tengo un problemilla al cual me gustaria que me ayudaran

en el navegador me sale este error:
Parse error: syntax error, unexpected $end in C:\xampp\htdocs\Proyecto\administracion\index.php on line 32

este es el codigo php
Código:
<html>
<head>
<title>Sistema de noticias</title>
<?php
//conectamos a la base
include("local.php");
include("menu.php");

//hacemos las consultas
$result=mysql_query("select * from noticias order by fecha Desc");
//$totalregistros=mysql_num_rows($result);
echo $totalregistros;

?>
</head>
<body>

<?php
//Recogemos las consultas en un array y las mostramos
while($row=mysql_fetch_array($result)){
{
    echo '<h2> Titulo:'.$row['titulo'].'</h2>
          Fecha de creacion: '.$row['fecha'].'
          <br>Noticia Corta: '.$row['noticia_corta'].' <br>
          Noticia: '.$row['noticia'].' <br><br>
          <a href="editar.php?id_noticia='.$row['id_noticia'].'">editar</a> | <a href="borrar.php?id_noticia='.$row['id_noticia'].'">borrar</a>';

mysql_free_result($rs);
}
?>
</body>
</html>
ya busque por todos lados el $ que me indica error de sintaxis que no lo encuentro. si me ayudan desde ya muchas gracias