Name.php?lol url question

Ok, I did know how to do this but I suddenly forgot…

I know how to get 1.php?2 urls to work

 <?php if (isset($_GET[lol] ) { echo "LOZOR"; } 

But what I need to know is how would I get something like : 1.php?number=2. to work?

Please help