I came with a similar problem:
I want to create a link 'comment' at the bottom of each project displayed on a page. The projects come from a db, so my link would be:
<a href="../comment.php?action="<?php $row[ProjectID]; ?>">comment</a>
Where comments.php is a form & handler that would insert someone's name and comments into a comments table in the db. I want the action to define the Project number so that the comments in the db can be associated later with a particular project.
The ? is, how do I say I want the $_GET['action']...
I think I just answered my own ?. In the query I just make $ProjectID = $_GET['action'];
then if $_GET[action] is not set I can display an error message like, you must pick a project...
I guess now I'll also have to check to see if the Project exists, too and display a different error for that.
If I am wrong, please let me know...
Dave