Welcome Guest, Not a member yet? Register   Sign In
parameter passing from view to controller via anchor
#1

[eluser]Lakshminarayanank[/eluser]
Hi all... I am a fresher to CI.. using with mysql
I am facing a difficulty in passing and accessing the parameter.
here is ma code..

in a view :
$d = array('proj_id'=>$pid)
echo anchor('aims/view_project',$pid,$d)

in controller am accessing it..
function view_project()
{
echo 'project no is' .$proj_id;
}

Am getting undefined symbol proj_id error message .. i got helg up there...
pls help me...!!


Messages In This Thread
parameter passing from view to controller via anchor - by El Forum - 08-08-2011, 12:50 PM
parameter passing from view to controller via anchor - by El Forum - 08-08-2011, 01:25 PM
parameter passing from view to controller via anchor - by El Forum - 08-08-2011, 01:43 PM
parameter passing from view to controller via anchor - by El Forum - 08-08-2011, 03:43 PM
parameter passing from view to controller via anchor - by El Forum - 08-08-2011, 04:41 PM
parameter passing from view to controller via anchor - by El Forum - 08-08-2011, 04:42 PM
parameter passing from view to controller via anchor - by El Forum - 08-09-2011, 04:02 AM
parameter passing from view to controller via anchor - by El Forum - 08-09-2011, 08:51 AM
parameter passing from view to controller via anchor - by El Forum - 08-09-2011, 11:36 PM
parameter passing from view to controller via anchor - by El Forum - 08-10-2011, 10:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB