Welcome Guest, Not a member yet? Register   Sign In
slash in 'anchor'

Hi all...

I have a doubt in putting slashes in 'anchor'

suppose below given is my code

anchor ('example.com/class/function/ID/', click me);

but when i view this in address bar, i won't get slash at the end (means, after ID)

in the address bar, i want it like http://example.com/class/function/ID/

but i get http://example.com/class/function/ID (without slash in the end)

how to add slash at the end???

does anybody know the answer?

It's true, the slash will not be appended to the link. Instead what you can do is open up config.php, go to
$config['url_suffix'] = "";

and add the slash as suffix. Slashes will now automatically be appended to every url.

yes i got it....
thanks a lot... :-)

Theme © iAndrew 2016 - Forum software by © MyBB