wie übergeben Sie die id im controller von Formular-Aktion mit codeigniter

hey Leute, ich bin neu in codeigniter,ich habe ein Formular wie dieses

<form class="addinvestmentform" action="<?php echo base_url();?>index.php/ctl_dbcont/input_investment/$id" name="application" method="post" >
//some code
</form>

habe ich eine controller-methode

function input_investment($id)
{
$this->load->helper('form');
                $this->load->helper('html');
                $this->load->model('mod_user');
                $this->mod_user->insertinvestment($id);
}

möchte ich, um $id von der form action controller methode wie ich es machen kann . . pls helfen Sie mir . .

InformationsquelleAutor Jay | 2013-04-01
Schreibe einen Kommentar