Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/01/2012, 04:22
Avatar de repara2
repara2
 
Fecha de Ingreso: septiembre-2010
Ubicación: München
Mensajes: 2.445
Antigüedad: 13 años, 7 meses
Puntos: 331
Respuesta: mysql_num_rows expects parameter 1 to be resource boolean given in

Prueba así:

Código PHP:
Ver original
  1. $consulta4="SELECT id_foto FROM tbl_fotos WHERE id_anuncio='".$id_anuncio."';

por ejemplo.
__________________
Fere libenter homines, id quod volunt, credunt.