PHP checking for $_GET variables with if statements