I want to send the contents of a variable $project which is selected form a drop down box.
Send it where?
Generally, if you have a form with a selection menu, you might use the POST method, then you would access it by $_POST['project']
Of course what is stored within say, $_POST['project'] may be different, since it is a variable after all, so its contents is variable.
Generally, name/value pairs like what you apparently want to use would be from a hyperlink, not a selection menu, unless your form uses the GET method for some reason.