Wrong linking?

Hello,
I am working on a website.
It is database driven. In the database i have a table named websiteinfo.
The table only contains one row at once. The row has a column that is called facelink. Which for at the moment is just facebook.com. I have PHP code that gets the facelink column and sets it to the href of a link tag. Everything works fine, but when i click the link it goes to localhost/facebook.com instead of facebook.com

Try using the full URL:

https://www.facebook.com/

Thank you sir. Worked just fine :smiley:

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.