Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/08/2007, 05:37
Francisco01
 
Fecha de Ingreso: marzo-2007
Mensajes: 347
Antigüedad: 17 años, 1 mes
Puntos: 2
Re: crear links tras un mysql_fetch_array

Para hacer el link, tendras que tener otro archivo, por ejemplo, noticias.php, ya que creo que en ese archivo solo quieres mostrar 1 noticia, yo le pasaria la id por get, osea en esta linea:
echo "<div style=\"margin-left: 10px;\">"."•&nbsp;". $fila['titulo'] ."</div>";
pondria
echo "<div style=\"margin-left: 10px;\"><a href=\"noticias.php?id=$fila['id']\">"."•&nbsp;". $fila['titulo'] ."</a></div>";

P.D : Acuerdate de que si vas a poner la id, decirle a la consulta select, que seleccione la id y no solo el titulo.

Espero haberte ayudado