Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/05/2010, 06:08
Weahl
 
Fecha de Ingreso: mayo-2010
Mensajes: 52
Antigüedad: 14 años
Puntos: 0
Respuesta: SELECT COUNT devuelve 1 pero debería ser 0

He aquí el código:

Código PHP:
Ver original
  1. $sql= mysql_query("SELECT COUNT(codmanual) FROM manual WHERE categoria = 'desweb'", $conexion);
  2. $filas= mysql_num_rows($sql);