include("includes/defaults.php"); $mysqli=db_connect('public'); include("includes/functions.php"); sec_session_start(); $package_type = '1'; // Check if Lessons Type has been posted if (isset($_GET['rtype'])) : if (($_GET['rtype'] >= 1) AND ($_GET['rtype'] <= 8)) { $package_type=$_GET['rtype']; } endif; ?>