Answers for "codeigniter 2 get number of rows"

PHP
2

row count in codeigniter

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

// Outputs, 4
Posted by: Guest on December-27-2020

Code answers related to "codeigniter 2 get number of rows"

Browse Popular Code Answers by Language