Welcome Guest, Not a member yet? Register   Sign In
[RESOLVED] Segments not being passed to controller in subdir!!!!
#1

[eluser]the real rlee[/eluser]
Guys, serious problem here, desperate for some help. For some reason routed segments are not being passed to sub controller functions. (FYI regex is valid and tested)

Routes:
Code:
$route['about\/locations(?:\/([a-zA-Z]{3}))?(?:\/([a-zA-Z-]+))?'] = "about/locations/index/$1/$2";

Locations Controller:
Code:
function index($state, $storename) {

   echo $state; // prints what should be storename!
}

Help greatly appreciated!


Messages In This Thread
[RESOLVED] Segments not being passed to controller in subdir!!!! - by El Forum - 07-01-2007, 07:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB