Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

row count in codeigniter

$this->db->where('EmpID >=', 5);
$query = $this->db->get('Employees');
echo $query->num_rows();

// Outputs, 4
Source by www.kodingmadesimple.com #
 
PREVIOUS NEXT
Tagged: #row #count #codeigniter
ADD COMMENT
Topic
Name
4+2 =