so, if i understand it correctly, you want to have an variable, filled in by the GET value? (that is, the question mark after your link)
I don't think your link will work, there are 2 problems(and someone correct me if i'm wrong, no GET expert here :P)
- you simply inserted the string id, which is a value, but there's no variable to put that value in
- and secondly, i don't know if quote sings work, but it's aboslutely not necessary.
so instead of ?'id' a better link would be:
http://www.fundis.hu/results.php?id=youridhere
you can create multipl GET values bij splitting it with a ,
http://www.fundis.hu/results.php?var1=value1,var2=value2
(not really applicable to your code, but just in case you need it)
on results.php, you can get the id out of the GET the same way as you would do with a POST: $_GET['id']
you can use that piece of code in your SQL, so it'd be like ("WHERE productID = " . $_GET['id']