route system |
i want to route like this
ex: http://localhost/index.php/user/USERNAME_FROM_MYSQL PHP Code: class Host extends CI_Controller { PHP Code: public function readTheTutorial() http://www.codeigniter.com/user_guide/tu...index.html (08-28-2016, 11:22 AM)kh8b8r Wrote: i want to route like this You probably want something like this: http://www.codeigniter.com/user_guide/ge...thod-calls PHP Code: class user extends CI_Controller { DMyers PHP Code: // ./application/config/routes.php What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(08-28-2016, 11:22 AM)kh8b8r Wrote: i want to route like this routes.php PHP Code: $route['user/(:any)'] = 'user/get/$1'; Controller: User.php PHP Code: class User extends CI_Controller CHEERS~!
[Just a programmer] [/Just a programmer]
|
Welcome Guest, Not a member yet? Register Sign In |