Ver Mensaje Individual
  #7 (permalink)  
Antiguo 15/04/2009, 09:24
Avatar de David
David
Moderador
 
Fecha de Ingreso: abril-2005
Ubicación: In this planet
Mensajes: 15.720
Antigüedad: 19 años
Puntos: 839
Respuesta: Problema con IF

¿Leíste la referencia que te pasé? http://www.php.net/mysql_num_rows

Código php:
Ver original
  1. if (mysql_num_rows($recurso) == 0) {
  2.     // No hay resultados
  3. }
__________________
Por favor, antes de preguntar, revisa la Guía para realizar preguntas.