Welcome Guest, Not a member yet? Register   Sign In
how can i pass array from view to controller ?
#4

[eluser]adamp1[/eluser]
Well you can pass a simple an array if you really needed. But its maybe not the best thing to do and definitely not the cleanest.
Code:
$this->uri->assoc_to_uri()

So you would do the following:

$array = array(
'jbcontroller' => 'applyjob',
'cvid' => $x,
'jbid' => $jobid
);

Tbh I would use the method rogierb says. Its just nicer.


Messages In This Thread
how can i pass array from view to controller ? - by El Forum - 07-06-2009, 12:12 AM
how can i pass array from view to controller ? - by El Forum - 07-06-2009, 12:26 AM
how can i pass array from view to controller ? - by El Forum - 07-06-2009, 12:50 AM
how can i pass array from view to controller ? - by El Forum - 07-06-2009, 01:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB