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

[eluser]siptik[/eluser]
hi! Use the html tag <base href="yor_base_url"/>

for example:
Code:
<!DOCTYPE HTML>
&lt;html&gt;
    &lt;head&gt;
&lt;meta charset="utf-8"&gt;
        &lt;base href="&lt;?=base_url()"/&gt;
      &lt;/head&gt;
.....

your links:
Code:
<a href="control/user/register">
or
Code:
<a href="&lt;?=base_url();?&gt;control/user/register">

Code:
NOTE:
1)   <a href="http://www.google.com">
2) $config['base_url'] = 'http://localhost/example';



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