Invalid URL display |
[eluser]Unknown[/eluser]
My code Code: <?=$link;?> It's show on localhost like this https://www.facebook.com/someone But It's show on external server (cPanel) www.mysite.com/https://www.facebook.com/someone Any suggestion?
[eluser]Patroklo[/eluser]
How do you populate this variable? If you make a var_dump of it previously what it shows?
[eluser]CroNiX[/eluser]
$link is your own variable that you created. There is no way for us to know without you showing more code, like how you created the variable.
[eluser]InsiteFX[/eluser]
You can do something like below or use CodeIgniters anchor method. Controller: Code: $data = array(); html: Code: <a href="<?php echo $link; ?>"><?php echo $link_name; ?></a> |
Welcome Guest, Not a member yet? Register Sign In |