Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/01/2012, 13:12
tonydx16
 
Fecha de Ingreso: febrero-2011
Mensajes: 233
Antigüedad: 13 años, 3 meses
Puntos: 4
Exclamación Crear enlace separando el texto

TENGO LA SIGUIENTE CONSULTA:

Código PHP:
Ver original
  1. $consulta = mysql_query("SELECT * FROM menu WHERE categoria='$menu' AND sub='$sub' AND url='$url' AND id='$id'");
  2.  
  3.            
  4. $a = array();
  5.  
  6. while($resultado = mysql_fetch_array($consulta)){
  7.  
  8.             $a[]= $resultado['tags'];  
  9.  
  10. }
  11.  
  12. echo implode($a);

(COMO ESTÁ GUARDADO EN LA BASE DE DATOS ES ASÍ: tag1, tag2, tag3)

LO QUE SE MUESTRA ALLÍ (en pantalla) ES:

tag1, tag2, tag3

pero lo que quiero es que cada uno sea un enlace con su nombre:
tag1 tag2 tag3

¿Cómo haría?...gracias