Welcome Guest, Not a member yet? Register   Sign In
parameter before controller name
#2

[eluser]leet_2k[/eluser]
Hi ayyad1990,


Go to:

applications/config/routes.php

Put the following under URI ROUTING:

$route['(:any)/controllername/function'] = "controllername/function";

What you are telling in the line above is anything before a controllername send it to controllername CONTROLLER .

Hope that helps.


Messages In This Thread
parameter before controller name - by El Forum - 12-04-2012, 10:07 AM
parameter before controller name - by El Forum - 12-04-2012, 01:36 PM
parameter before controller name - by El Forum - 12-04-2012, 10:54 PM
parameter before controller name - by El Forum - 12-05-2012, 12:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB