Jump to content

Problem with links retrieved from Mysql with php


Recommended Posts

This problem has been solved. When I setup my DB I dropped the http:// in my first link and then compounded the problem with copy/paste. :) Lack of sleep I guess. Sorry--------------------------------------------------------------------------------------------My page is retrieving html links from my database. The links are written in the DB like this. <a href="www.retrievedlink.com" target="_blank">Retrieved Link</a>When the link shows up on the page it appears fine, but when I mouse over the link it shows in the browser status bar that it is stacked behind my domain url like this:http://www.mydomain.com/www.retrievedlink.comHow do I stop my domain url from being inserted in the link.If this is a stupid question please forgive me, I am very new to this. Thank you in advance for any help offered.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...