[eluser]Nisha S.[/eluser]
Thank for the reply.
But actually I am loading the view before that echo. Only I sent the footer view last. Please see my coding below.
function page($page)
{
$this->load->view('header');
$this->load->view('wire_form_view');
$query = $this->db->get('microposts');
$data['query'] = $query;
$data['title'] = 'Nisha';
$this->load->view('wire_post_view',$data);
$this->load->library('pagination');
$config['base_url'] = base_url() . 'index.php/wire/page';
$config['total_rows'] = '200';
$config['per_page'] = '5';
$config['full_tag_open'] = '<div class="aa">';
$config['full_tag_close'] = '</div>';
$this->pagination->initialize($config);
echo $this->pagination->create_links();
$this->load->view('footer');
}
Regards,
Nisha S.