• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Next error pagination ?

#4
[eluser]osci[/eluser]
Maybe defining in function
Code:
function search($search_type = 'Title_book')

change a little your post
if there is no post use $search_type from function failing to your default in case this is not passed too.
Code:
if (isset($type) & ($type <> NULL))
{
   $search_type=$type;
}

use the 4th segment for $start_row

set config for 4th segment and change a little base_url
Code:
$config['uri_segment']=4;
$config['base_url'] = site_url().'/site/search/'.$search_type.'/';


Edit: This topic is not about a bug of course. Maybe that's why you didn't get help in here. You should post this in core or reactor forum.


Messages In This Thread
Next error pagination ? - by El Forum - 06-01-2011, 08:41 AM
Next error pagination ? - by El Forum - 06-01-2011, 07:10 PM
Next error pagination ? - by El Forum - 06-02-2011, 04:12 PM
Next error pagination ? - by El Forum - 06-02-2011, 04:40 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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