![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
21/02/2008, 08:46
|
![Avatar de Carlojas](http://static.forosdelweb.com/customavatars/avatar185210_1.gif) | | | Fecha de Ingreso: junio-2007 Ubicación: Shikasta
Mensajes: 1.272
Antigüedad: 17 años, 8 meses Puntos: 49 | |
Re: Problemas al crear Buscador. AYuda!!!! Prueba asi: Código PHP: $palabra = utf8_encode($_POST['palabra']);
echo "<center>";
$sql1 = "select * from exportec WHERE nom_marca like '%$palabra%' order by id asc";
$buscar = mysql_query($sql1, $con) or die ("<p class=\"MSG\">¡ERROR! Ha ocurrido un error al intentar listar los registros</P>");
$n_registros = mysql_num_rows($buscar);
Saludos. |