• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.