![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
21/09/2006, 08:41
|
![Avatar de spider_boy](http://static.forosdelweb.com/customavatars/avatar49752_2.gif) | | | Fecha de Ingreso: diciembre-2003 Ubicación: Chile
Mensajes: 1.855
Antigüedad: 21 años, 2 meses Puntos: 89 | |
Prueba cambiando la linea del sql por esta
$query_Rs =mysql_query("SELECT * FROM cliente WHERE id LIKE '%$buscar%' OR nombre LIKE '%$buscar%' OR empresa LIKE '%$buscar%' ORDER BY rut DESC");
Si no sirve... al lado, agrégale mysql_error(); de tal manera que quede así...
$query_Rs =mysql_query("SELECT * FROM cliente WHERE id LIKE '%$buscar%' OR nombre LIKE '%$buscar%' OR empresa LIKE '%$buscar%' ORDER BY rut DESC") or die(mysql_error());
mysql_error(), te mostrará algún error relacionado con la búsqueda en la bd que haces... quizá ahí está el problema... Si te da alguno, pégalo acá =)
Nos vemos =) |