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

[eluser]harris_priambudi[/eluser]
Hello Everyone
I have some shitty problem right now

when I use
Code:
<a href=""> </a>
its default linked to my existed url

for example condition
my url page is = http://localhost/example/control/user/login

on my html I used
Code:
<a href="&lt;?php echo base_url()?&gt;control/user/register">register</a>
( FYI = my base_url = "http://localhost/example")

when I click the link its direct to
"http://localhost/example/control/user/login/control/user/register"

and I test change my link to
Code:
<a href="www.google.com">register</a>
its directed to
"http://localhost/example/control/user/login/www.google.com"

what I must supposed to do??
regards


Messages In This Thread
Hyperlink problem - by El Forum - 10-21-2012, 10:40 PM
Hyperlink problem - by El Forum - 10-22-2012, 12:18 AM
Hyperlink problem - by El Forum - 10-22-2012, 03:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB