how to get structure of table in codeigniter

76

$fields = $this->db->list_fields('table_name');
foreach ($fields as $field)
{
   echo $field;
}

Comments

Submit
0 Comments