/ Published in: PHP

Expand |
Embed | Plain Text
//Model function name() { $this->db->select('column_name'); return $this->db->get('db_name'); } //Controller $data['row'] = $this->db->name($var)->row(); //view <?=$row->column_name;?>
You need to login to post a comment.