When you say you have three tables do you mean a table with three columns? These entries should all be in one table...
PHP Code:
$result = mysql_query("SELECT link_URL, link_Title FROM Table WHERE link_ID = '".$value."'") or die(mysql_error());
$link = mysql_fetch_array($result);
echo "<a href=\"".$link['link_URL']."\">".$link['link_Title']."</a>\n";
If you want to select all links the skip the where clause and iterate through the links with:
PHP Code:
while($link = mysql_fetch_array($result)){
echo "<a href=\"".$link['link_URL']."\">".$link['link_Title']."</a>\n";
}
Bookmarks