Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/03/2006, 11:11
silverrr111
 
Fecha de Ingreso: julio-2004
Mensajes: 45
Antigüedad: 19 años, 9 meses
Puntos: 0
Pregunta de novato.......

Hola a todos estoy intentando hacer un sistema de noticias sencillito con formulario y queria implementar una manera para poder borrar las noticias caducadas directamente desde el php que las enseña. para eso quiero poner un href a borrar.php allí ponerle un password y usuario y borrarla.
Intento poner el link al borrar.php per no hay manera me sale esto:

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/webcindario/caf/noticies/noticias.php on line 25



Y este es el código, porfavor alguien que me pueda echar una mano?

<?php
include ("conexion.php");
$selec = mysql_query("SELECT * FROM noticias ORDER BY id DESC");
while ($row = mysql_fetch_array($selec)) {
echo "<table width=\"45%\" border=\"1\" cellspacing=\"0\"
cellpadding=\"0\">
<tr>
<td><h3>$row[titulo]</h3></td>
</tr>
<tr>
<td><h5>$row[nom]</h5></td>
</tr>
<tr>
<td>$row[noticia]</td>
</tr>
<tr>
<a href="borrar.php?id="'.$row["id"].'>Esborrar</a>
</tr>
</table><br>";
}
?>