Ok, now we are getting somewhere.
So you want to run a query on a MySQL database and print
the results on a page asig they were hyperlinks.
Read the manual about how to run queries on a MySQL database,
it is exmplained with examples.
As for the printing, just loop through the results
you get from your query using the mysql_fetch() command (again, read manual)
And print the content of the result like this:
echo "<a href=".$URL_column.">".$URL_column."</a>";
that is assuming you have a column that contains the real URL.