Created
December 29, 2014 09:19
-
-
Save arifulhb/4410c14d799f96815e1e to your computer and use it in GitHub Desktop.
Get Total Row Numbers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function getTotalNum(){ | |
$this->db->select('mrcnt_sn'); | |
$this->db->from('tblmerchant'); | |
$res=$this->db->get(); | |
return $res->num_rows; | |
}//end function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment