<?php if (isset($_GET['seccion')) { //La variable existe .... } else { //La variable no existe .... } .... ?>