switch(TRUE)
{
case (isset($_GET['id'])):
echo '';
break;
case (isset($_GET['id2'])):
break;
case (isset($_GET['id3'])):
break;
}
That's what first comes to mind. I don't think there's any other way to do it, but I'm sure someone will come and prove me wrong...
~Brett