• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to create paging with form search, but query string enable??

#6
[eluser]hyperfire[/eluser]
My guess would be for you to use this :

http://localhost/application/index.php/application/20

Instead of:

http://localhost/application/index.php?c=application/20

Then use something like this to get your variables from URI:

$c = $this->uri->segment(2); // gets the 20 from application/20

Also, your pagination base_url var should look like this:

$config['base_url'] = base_url() . 'application/';

Hope this help.


Messages In This Thread
how to create paging with form search, but query string enable?? - by El Forum - 12-02-2008, 10:13 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.