I have this code: it works fine
Divide your condition in to two parts.
Your Code Look like this :
if(!isset($_GET['id'])){ $id = $_GET['id']; if($id == 1000 || $id == 2000) { // Action } }