Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/05/2013, 13:12
sjj
 
Fecha de Ingreso: octubre-2008
Mensajes: 213
Antigüedad: 15 años, 6 meses
Puntos: 12
Respuesta: Buscador poner mensaje de que no se encontro ningun registro

Yo tengo hecho algo así en mi buscador:

Código PHP:
$totalRows mysql_num_rows($query);
if(!empty(
$query)){
        echo 
stripslashes("<p>Su busqueda arrojo $totalRows resultados para <strong>$frase</strong>");
        while(
$row mysql_fetch_array($query)){
            
//aquí muestro los datos de todo lo encontrado
                 
}
                  }