now i am binnger in codeinginter. my controller name is buy and i have set buy as default controller.
now my router.php is like this———-
$route['default_controller'] = “buy”;
$route['(:any)'] = “buy/$1″;
$route['404_override'] = ”;
now this is my site url on localhost is http://localhost/projectname/function_name is working fine. but when i want to create a new controller suppose dashboard. i want to after login in my site user will enter to new page under dashbord controller .
so the url sholud be look like http://localhost/projectname/dashboard/function_name/
please help me
You must be logged in to reply to this topic.