Welcome Guest, Not a member yet? Register   Sign In
HELP!
#4

[eluser]husni[/eluser]
this is a part of my controller..
Code:
$data['msg'] = "";
                $data['availability'] = TRUE;
                $data['allModul'] = $this->helpdesk_model->getAllModul();
                print_r($data['allModul']);
                $this->load->library('calendar');
                $data['querys'] = $this->helpdesk_model->display_menu();
                $this->load->view('statusAll',$data);

and this is a part of my view..
Code:
foreach($allModul as $modul):
                        echo "<tr><td width='15%'><b>".$modul['moduleID']."</b></td><td>".$this->helpdesk_model->countTotalLog($modul['moduleID'])."</td><td>".$this->helpdesk_model->countTotalClose($modul['moduleID'])."</td><td>".$this->helpdesk_model->countPercentage($modul['moduleID'])."</td><td>".$this->helpdesk_model->responseIn2Hours($modul['moduleID'])."</td><td>".$this->helpdesk_model->responseMore2Hours($modul['moduleID'])."</td><td>".$this->helpdesk_model->responseMore3Days($modul['moduleID'])."</td><td></td><td>".$this->helpdesk_model->TMresponseIn2Hours($modul['moduleID'])."</td><td>".$this->helpdesk_model->TMresponseMore2Hours($modul['moduleID'])."</td><td>".$this->helpdesk_model->TMresponseMore3Days($modul['moduleID'])."</td><td></td><td></td><td></td><td></td><td></td><td></td></tr>";
                    endforeach;

can anyone tell me how to do this one instead of this way??


Messages In This Thread
HELP! - by El Forum - 03-21-2010, 10:10 PM
HELP! - by El Forum - 03-21-2010, 10:29 PM
HELP! - by El Forum - 03-22-2010, 03:53 PM
HELP! - by El Forum - 03-22-2010, 06:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB