$func = isset($_GET['func']) ? $_GET['func'] : null; if($_GET['func'] == "drop_1" && isset($_GET['func'])) { drop_1($_GET['drop_var']); }