![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
17/07/2008, 10:23
|
![Avatar de hulray](http://static.forosdelweb.com/customavatars/avatar150124_1.gif) | | | Fecha de Ingreso: septiembre-2006
Mensajes: 630
Antigüedad: 18 años, 5 meses Puntos: 3 | |
Respuesta: Buscar en la base de datos Cambia esta linea
$query = mysql_query("SELECT * FROM noticias WHERE tag LIKE = '$tag'");
Por esta:
$query = "SELECT * FROM noticias where (tag like '%".$tag."%') ";
Última edición por hulray; 17/07/2008 a las 10:30 |