title: CodeIgniter search input and pagination URL
body: <p>I want to create a URL containing string from search form and page from pagination</p>
  
  <p>For example, my base URL is <code>example.com/search</code><br>
  When showing the search result it will be <code>example.com/search/?s=keyword</code> and when showing the search result from next page it will be <code>example.com/search/?s=term&amp;p=2</code> for second page and so on</p>
  
  <p>How to make it like that in CodeIgniter?</p>