[eluser]redraw[/eluser]
Hallo All,
Sorry for my bad English
i have an ccontroller
Code:
$data = $this->fungsi->accept_data(array_keys($_POST));
$code = $this->input->post('code');
$keterangan = $this->input->post('keterangan');
$keterangan = strtoupper($keterangan);
$nilai = $this->input->post('nilai');
$nilai = str_replace(',','',$nilai);
$data = array(
'code'=>$code,
'keterangan'=>$keterangan,
'nilai'=>$nilai
);
$this->session->set_userdata($data);
$this->load->view('haluser/gl_transenjur_umum', $data);
i want show the session on view, there is the view code..
Code:
<?php foreach($this->session->userdata() as $rows):?>
<td><?php echo $rows['code'];?></td>
<td><?php echo $rows['keterangan'];?></td>
<td><?php echo $rows['nilai'];?></td>
<td align="center">
<?php endforeach; ?>
but it not show..
please help
Thank you