help needed about logic. |
[eluser]Tominator[/eluser]
I'm from Slovakia. I think I understand You have to set to your routers.php (/application/config/) something like this: Code: $route['category/:any'] = $route['category/index/$1']; Then when you cal: http://yoursite/category/keyboard It automaticaly redirect you to: http://yoursite/category/index/keyboard That means, that your controller will be 'Category', method 'index()' and uri segment 3 will be 'keyboard'. Tom. |
Messages In This Thread |
help needed about logic. - by El Forum - 04-25-2010, 05:19 AM
help needed about logic. - by El Forum - 04-25-2010, 05:26 AM
help needed about logic. - by El Forum - 04-25-2010, 05:55 AM
help needed about logic. - by El Forum - 04-25-2010, 05:58 AM
help needed about logic. - by El Forum - 04-25-2010, 06:10 AM
help needed about logic. - by El Forum - 04-25-2010, 06:17 AM
help needed about logic. - by El Forum - 04-25-2010, 06:24 AM
help needed about logic. - by El Forum - 04-25-2010, 06:36 AM
help needed about logic. - by El Forum - 04-25-2010, 06:49 AM
help needed about logic. - by El Forum - 04-25-2010, 06:55 AM
|