Welcome Guest, Not a member yet? Register   Sign In
passing data from view to controller
#3

[eluser]jupiter1031[/eluser]
I hope I got this:


<div id="image"> <a >prj_index);?&gt;?&gt;"> &lt;?php echo img($image_properties); ?&gt; </a> </div>

on the receiving end how tdo I accept the key?

right now the controller method looks like this:


function put_project_detail()
{
$this->load->model('projects_model');
$data['records'] = $this->projects_model->getOneProject();
$this->load->view('eng-project-detail',$data);}
}

I need to pass the key to procects_model->getOneProject()

Thank you for your help!!


Messages In This Thread
passing data from view to controller - by El Forum - 02-17-2011, 04:42 PM
passing data from view to controller - by El Forum - 02-17-2011, 05:03 PM
passing data from view to controller - by El Forum - 02-17-2011, 05:17 PM
passing data from view to controller - by El Forum - 02-17-2011, 05:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB