Dynamic Routes |
ROUTES
$route['sample1/(:any)'] = 'ctrl1/index/$1'; $route['sample1'] = 'ctrl1/index'; $route['sample2/(:any)'] = 'ctrl2/index/$1'; $route['sample2'] = 'ctrl2/index'; Ctrl1 function index($i1,$i2){ // your code for model and view } Ctrl2 function index($i1,$i2){ // your code for model and view } |
Messages In This Thread |
Dynamic Routes - by GuilhermeBiz - 03-14-2019, 11:39 AM
RE: Dynamic Routes - by lorenzoallopez91 - 03-14-2019, 11:56 PM
RE: Dynamic Routes - by GuilhermeBiz - 03-15-2019, 07:08 AM
|