Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: HTML
Posted by: Dylan Lopez
Added: Mar 24, 2018 1:00 PM
Views: 15
Tags: count rows total
  1. $query = $this->db->query("SELECT `id` FROM `".$table."`");
  2. $total_rows = $query->num_rows();