Welcome Guest, Not a member yet? Register   Sign In
Routes with 2 variables CI3
#1

Hello. I need something like this:

$route['controller1/function'] = 'controller2/funtion/var1=thing/var2=otherthing';

But it doesn't work.


$route['controller1/function'] = 'controller2/funtion/thing/otherthing';

Doesn't work.
The thing is: I want to modify de values of privates attributes inside the controller so it works in several ways based on the URL.
Reply


Messages In This Thread
Routes with 2 variables CI3 - by Omar Crespo - 10-25-2021, 05:08 AM
RE: Routes with 2 variables CI3 - by includebeer - 10-25-2021, 03:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB