When I display web links that are stored in the MySQL database as:
<a href=”www.weblink.com”>weblink</a>
(I store the whole string http://www.weblink.com into the database)
The links do not work because they end up being attached to the http://localhost. How do I get them to be stand alone web links?
Thanks for your time.
help with web links
Moderator: General Moderators
when you echo them, echo them with http:// in front of them like <a href="http://www.example.com">