session_start(); if (!session_is_registered("LLC")) { // if session check fails, invoke error handler header("Location: ../loginform.php"); exit(); } $user = $_SESSION['UNAME']; $Semester = isset($_GET['semester']) ? $_GET['semester'] : ""; if ($Semester == '') { header("Location: manage.php"); exit(); } list ($semester, $syear) = split (' ', $Semester); include("../include/dbconfig.php"); $connection = mysql_connect($db_host, $db_user, $db_pass) or die ("Unable to connect!"); mysql_select_db($db_name); ?>
Closed Dates: | $month/$day/$year $row[1] | END; } ?>