Welcome Guest, Not a member yet? Register   Sign In
URI Routing problem
#4

[eluser]Ochetski[/eluser]
Your function have 2 arguments, the second is optional with default '' but the first must appear when you call review::page(), even if it's null review::page(false) or review::page(null) should work.


Or you can add a default for first parameter:

function page($page=false,$offset=''){
// my code //
}


Messages In This Thread
URI Routing problem - by El Forum - 01-09-2011, 09:02 PM
URI Routing problem - by El Forum - 01-09-2011, 09:20 PM
URI Routing problem - by El Forum - 01-10-2011, 01:00 PM
URI Routing problem - by El Forum - 01-10-2011, 01:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB