How can I make an controller, which will be accessible on the following url address:
/index.php/my_controller/controller_function/another_function
or
/index.php/account/profile/edit
I know that is possible, but I cant find any site which will explain this, from the manual I’ve read that the controller should be in the folder, but what then?
Make a controller called
class Account extends CI_Controller, which has the methodprofile, taking a parameter of$action– this will automatically be filled witheditwhen you visit/account/profile/edit.