Welcome Guest, Not a member yet? Register   Sign In
another pagination problem
#2

[eluser]theprodigy[/eluser]
Quote:I use this URI (books controller, tags function, and fiction is the param)

It may not be the best way to handle it, but for your current setup, you could always try:
Code:
class Books extends Controller{
//..other code..
function tags($type = null, $page = 0)
{
    if(is_numeric($type))
    {
        $page = $type;
        $type = null;
    }
    //..other code..
}

and then run the rest of your code as normal. This is assuming you don't have a book type that is numeric.


Messages In This Thread
another pagination problem - by El Forum - 04-12-2010, 05:21 PM
another pagination problem - by El Forum - 04-12-2010, 06:12 PM
another pagination problem - by El Forum - 04-12-2010, 09:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB