Welcome Guest, Not a member yet? Register   Sign In
How to have a trailing slash at the end of the URL??
#4

[eluser]Lone[/eluser]
I would just be inclined to do it the 'normal' way - its barely much more code..

Code:
<a href="&lt;?=site_url(); ?&gt;main/show_all/">Show All</a>

You can do it the following way but I am guessing it will still remove the '/'

Code:
<a href="&lt;?=site_url('main/show_all/'); ?&gt;">Show All</a>


Messages In This Thread
How to have a trailing slash at the end of the URL?? - by El Forum - 02-08-2008, 05:25 PM
How to have a trailing slash at the end of the URL?? - by El Forum - 02-08-2008, 07:32 PM
How to have a trailing slash at the end of the URL?? - by El Forum - 02-08-2008, 07:36 PM
How to have a trailing slash at the end of the URL?? - by El Forum - 02-09-2008, 12:07 AM
How to have a trailing slash at the end of the URL?? - by El Forum - 02-09-2008, 02:03 AM
How to have a trailing slash at the end of the URL?? - by El Forum - 02-09-2008, 08:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB