If you hyperlink looks something like "page.php?id=3", then in the PHP program, you'll get a variable called $_REQUEST['id'], which will have a value of "3".
Any value passed in the query string that way will be available in the $_REQUEST array.
Hope that helps.