View Single Post
Old 11-02-2015, 09:00 AM  
SeanLEE
Confirmed User
 
SeanLEE's Avatar
 
Join Date: Feb 2006
Location: Miami, FL
Posts: 1,556
Quote:
Originally Posted by tical View Post
That's because $fila['imagen1'] is empty in some instances.

It works when you place it in the "...php if(!empty..." block because that code would only run when $fila['imagen1'] is not empty.

If you place your display code before the "...foreach ($data->result_array() as $fila)..." then it won't work because $fila hasn't been created yet.
exactly... so can you write a line of code to fix this and ill pay you?
__________________
I spammed in threads!
SeanLEE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote