How to pass argument to index(arg='') ? |
If you want /home and /home/{{id}} you can always write a route in the application/config/routes.php file.
This is covered here http://www.codeigniter.com/user_guide/ge...ght=routes So you could add for example: $route['home/(:num)'] = 'home/index/$1'; DMyers |
Messages In This Thread |
How to pass argument to index(arg='') ? - by zenepay - 06-21-2016, 02:18 AM
RE: How to pass argument to index(arg='') ? - by zenepay - 06-21-2016, 03:48 AM
RE: How to pass argument to index(arg='') ? - by dmyers - 06-21-2016, 05:54 AM
RE: How to pass argument to index(arg='') ? - by zenepay - 06-21-2016, 06:40 AM
RE: How to pass argument to index(arg='') ? - by dmyers - 06-21-2016, 08:17 AM
RE: How to pass argument to index(arg='') ? - by InsiteFX - 06-21-2016, 08:13 AM
RE: How to pass argument to index(arg='') ? - by zenepay - 06-27-2016, 10:25 PM
|