Welcome Guest, Not a member yet? Register   Sign In
How can I pass a variable with anchor()
#1

[eluser]Hasan Iqbal[/eluser]
Hi guys!

I'm a newbie in codeigniter.
I'm trying to pass an information through anchor() function.

Here, I want to attach a variable 'id' that relates to that description and pass it to a controller named 'test'. In that controller I want to retrieve the variable from the URI and do something.
But where can i attach it?

echo anchor('test',$value->description,'');


Messages In This Thread
How can I pass a variable with anchor() - by El Forum - 07-11-2011, 11:59 PM
How can I pass a variable with anchor() - by El Forum - 07-12-2011, 12:11 AM
How can I pass a variable with anchor() - by El Forum - 07-12-2011, 02:06 AM
How can I pass a variable with anchor() - by El Forum - 07-12-2011, 02:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB