how to pass id in controller from form action using codeigniter
问题 hey guys i am new in codeigniter,i have a form like this <form class="addinvestmentform" action="<?php echo base_url();?>index.php/ctl_dbcont/input_investment/$id" name="application" method="post" > //some code </form> i have a controller methode function input_investment($id) { $this->load->helper('form'); $this->load->helper('html'); $this->load->model('mod_user'); $this->mod_user->insertinvestment($id); } i want to get $id from form action to controller methode how can i do that . . pls