How do I pass an argument to the index function? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: How do I pass an argument to the index function? (/showthread.php?tid=68360) |
How do I pass an argument to the index function? - desbest - 06-29-2017 If I have Code: class Admin extends MY_Controller { And a hyperlink that goes to base_url('admin/open/'); It will look for a method or function called open in my Admin controller. What if I want it to pass a url segement called open to the Index function? What do I do? RE: How do I pass an argument to the index function? - Narf - 06-29-2017 /admin/index/open |