Welcome Guest, Not a member yet? Register   Sign In
having a hyperlink redirect or submit to a new controller
#6

[eluser]Aken[/eluser]
They answered your question, but here's the actual code:

Code:
<a href="&lt;?php echo site_url('widget/details/' . $viewbag['id']); ?&gt;">Link Text</a>

// OR

&lt;?php echo anchor('widget/details/' . $viewbag['id'], 'Link Text'); ?&gt;


Messages In This Thread
having a hyperlink redirect or submit to a new controller - by El Forum - 07-12-2012, 05:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB