Welcome Guest, Not a member yet? Register   Sign In
looping inside table function
#1

[eluser]Unknown[/eluser]
Hi all,
I'm new here. I want ask about code.
is it possible for using looping inside table function ?
here's the code

Code:
foreach($anggota->result() as $rows)
$this->table->add_row(                    

        $rows->EMPLOYEE_NAME,
        "<font color=\"red\">".$rows->lokasi_disp."</font>",

        --&gt; i want add looping data here. so, each row in this column will have some looping data and the data is generated from database in model,

$rows->status_tugas
);

thanks Big Grin




Theme © iAndrew 2016 - Forum software by © MyBB