Welcome Guest, Not a member yet? Register   Sign In
[SOLVED]first URI segment doesn't change after link with second URI segment
#11

[eluser]danmontgomery[/eluser]
Code:
<?php echo anchor('home','Home'); ?>
#12

[eluser]reaper_unique[/eluser]
Thank you both for your comments.

I know those work very well, but as stated above, I'd like to keep php to a minimum in my views. That is why I decided to do it as followed, which solves my problem:

Code:
<a href="../home">Home</a>

If in the end the methods you two mentioned are better in the long run, Meaning, if I keep having troubles because I use "../", I will use php. That way I'll learn it the hard way but I'll have learned it for good. Smile
#13

[eluser]Julian[/eluser]
Hello, good post, please visit my post and see how you can become a millionaire in the forex. [URL="http://millionaireinforex.com"]Become a Millionaire in Forex[/URL]




Theme © iAndrew 2016 - Forum software by © MyBB