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 5, 2018 9:03 AM
Views: 6
  1. $query = $this->db
  2.                 ->select('')
  3.                 ->where('colum_name', 'value')
  4.                 ->limit($limit,$offset)
  5.                 ->order_by('id')
  6.                 ->get($table_name);
  7. $records = $query->result_array();