all variables that exist in you querystring are automatically available to your script and available through the $_GET[''] super globals, so you dont need to reassign variables to them.
for example if you querystring variable is myname=stuart, you can call this by using $_GET['myname'] (which has the value stuart).
Maybe a read through some tutorials and the manuals would help

as would a good book.