Welcome Guest, Not a member yet? Register   Sign In
Pagination problem
#1

[eluser]rajyakshmik[/eluser]
Hi,

I m having pagination problem. I m using one function within that function i m passing one key.Based on that key i m taking posted values.

this is my pagination code:

$this->load->library('pagination');
$config['base_url'] = $this->config->item('base_url').'main/search/';
$config['total_rows'] = $qry->num_rows();
$config['per_page'] = '1';
$config['full_tag_open'] = '<p>';
$config['full_tag_close'] = '</p>';
$this->pagination->initialize($config);
It's working fine in all scenario's except when scenario.
When i m coming to first page my key is become undefined index.how can i pass that key?




Theme © iAndrew 2016 - Forum software by © MyBB