Welcome Guest, Not a member yet? Register   Sign In
Link problem
#1

[eluser]Gerep[/eluser]
Hi fellas,

I'm new here and trying to develop a quotation system but I'm having a little problem.

I have the menu with links like:
Quote:<ul>
<li><a href="user">Index</a></li>
<li><a href="quotation">Quotation</a></li>
</ul>

If I got it right, the first link will call my user class and execute the index() method. When I click on it for the first time it adds the user to the url like:
Quote:http://localhost/quotation/user
, when I click the second time, it will be:
Quote:http://localhost/quotation/user/user
and it makes all my other links wrong, like the Quotation:
Quote:http://localhost/quotation/user/user/quotation

Am I doing the right thing with links or there is another and better way to deal with them?

Thanks in advance


Messages In This Thread
Link problem - by El Forum - 08-03-2010, 08:26 PM
Link problem - by El Forum - 08-03-2010, 09:29 PM
Link problem - by El Forum - 08-04-2010, 04:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB