[eluser]fRkSsK[/eluser]
hi,
this is a default code
Code:
$this->load->helper('html');
$list = array(
'red',
'blue',
'green',
'yellow'
);
$attributes = array(
'class' => 'boldlist',
'id' => 'mylist'
);
echo ul($list, $attributes);
i want to list these in database table. i tried;
Code:
$xxx = $this->db->get('table1');
$list = $xxx->result();
$attributes = array(
'class' => 'boldlist',
'id' => 'mylist'
);
echo ul($list, $attributes);
but it's not work. can you check this?