I'm not sure what the first part of this discussion was, however, you are on the right track.
An easier thing to do is pass the page and all in, like this:
www.mysite.com/page.php?linkID=61
Then, oln page.php you can do:
$linkID = $_GET["linkID"];
$query = "SELECT something FROM some table WHERE id=" . $linkID . " linit 1";
That will give you the information for the record in your table that has an id of 61.
You then just need to grab the info from the result and drop it into your page.
-- Jason