![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
03/11/2003, 05:15
|
![Avatar de jercer](http://static.forosdelweb.com/customavatars/avatar44373_1.gif) | | | Fecha de Ingreso: octubre-2003
Mensajes: 373
Antigüedad: 21 años, 3 meses Puntos: 13 | |
Donde pones:
$con=mysql_query("select count(*) from contenido where cont_entero like '%$busca%'");
Pon:
$con=mysql_query("select count(*) as total, * from contenido where cont_entero like '%$busca%'");
Ahora para mostrar el número total solo tienes que cojer el campo 'total'.
Espero que esto lo soluciones |