Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Mar 6, 2018 9:19 AM
Views: 26
  1. $this->load->library('table');
  2. $query = $this->db->query('SELECT * FROM my_table');
  3. echo $this->table->generate($query);