codeigniter get category and subcategory |
You will need a route in application/config/routes.php. E.g.:
PHP Code: $route['category/(:any)'] = 'category/view/$1'; Create a controller named Category.php Create a method inside it named view, which accepts the category_id as parameter: PHP Code: public function view($category) The tutorial about the News section could give you a good start. |
Messages In This Thread |
codeigniter get category and subcategory - by timelancer - 07-08-2017, 01:23 PM
RE: codeigniter get category and subcategory - by Wouter60 - 07-08-2017, 01:37 PM
RE: codeigniter get category and subcategory - by InsiteFX - 07-08-2017, 05:25 PM
|