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

[eluser]danmontgomery[/eluser]
Code:
echo anchor('aims/view_project/'.$pid, 'Link');

// ...

function view_project($pid)
{
    echo 'project no is '.$pid;
}

http://ellislab.com/codeigniter/user-gui.../urls.html


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