Ver Mensaje Individual
  #8 (permalink)  
Antiguo 09/12/2014, 12:37
jglm210687
 
Fecha de Ingreso: julio-2008
Mensajes: 56
Antigüedad: 15 años, 9 meses
Puntos: 2
Sonrisa Respuesta: Ciclo FOR hasta NULL

Cita:
Iniciado por KalSmith Ver Mensaje
Me imprimio "null"
entonces coloca:
Código PHP:
if ($row_consulta[$i] !=NULL) {
  echo  
'<li><a href="#"><img src="img/tb/tb_' $row_consulta[$i] . '" data-large="img/'$row_consulta[$i] . '" /></a></li>';

eso significa que si es diferente de null ejecute lo que esta dentro del if