Search does not works in codeigniter with pagination?

You must be forgetting to pass the search query for the pagination. Seeing how the page number is the third segment of the query string, I'm guessing that the search form will do a POST action when it gets submitted by the user. After the user submitted the form, of course it will work.

Because they just did a POST request, and you fetch the search query from $_POST by using $this->input->post('user_input') or something similar. But then, when they try to navigate to another page by clicking on the page number link (which is a GET request), the search fails because the superglobal $_POST array is empty.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions