Welcome Guest, Not a member yet? Register   Sign In
help needed about logic.
#8

[eluser]Tominator[/eluser]
I'm from Slovakia.

I think I understand Big Grin

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



Theme © iAndrew 2016 - Forum software by © MyBB