Welcome Guest, Not a member yet? Register   Sign In
Newbie: urls Relative to Controller
#2

[eluser]Shay Falador[/eluser]
Use the url helper, and then just do:
Code:
&lt;a href="&lt;?php echo site_url('orgs/edit/'.$org->id); ?&gt;">Edit</a>
In order to achieve this.
If you don't want to use url helper you can call site_url from the url library..


Messages In This Thread
Newbie: urls Relative to Controller - by El Forum - 02-13-2010, 04:46 AM
Newbie: urls Relative to Controller - by El Forum - 02-13-2010, 05:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB