codeigniter pagination a tag code example
Example 1: Codeingiter Pagination
$this->load->library('pagination');
$config['base_url'] = 'http://example.com/index.php/test/page/';
$config['total_rows'] = 200;
$config['per_page'] = 20;
$this->pagination->initialize($config);
echo $this->pagination->create_links();
Example 2: codeigniter pagination example using ul li in controller
codeigniter pagination example using ul li in controller