How to

i want to have a image as a link to another page but instead of using html i want to use my database content inside of a collum.
inside the database i have Welcome to Facebook - Log In, Sign Up or Learn More
i want to have this as an image link to facebook.com from the database
how do u do this?