$ref = ''; if (isset($_REQUEST['ref'])) { $ref = $_REQUEST['ref']; } $type = ''; if (isset($_REQUEST['t'])) { $type = $_REQUEST['t']; } ?>