[eluser]Bl4cKWid0w[/eluser]
I'm developing a custom ladder script. I am having trouble with the URL/controllers. I have made a page for the consoles with links leading to a page with the selected consoles games.
mysite.com/ladders/ -- console list
mysite.com/ladders/console/xbox-360 -- game list
Both of these pages are under a controller called ladders.php. The console list is the index for ladders and the game list is under a function called console. Now for the game, I want the url to be the following example:
mysite.com/ladders/console/xbox-360/halo-3
The only problem is that the halo-3 would be a generated page under a function called "game". Would there be any way to rewrite the segment halo-3 to that function?