session_start(); if (!session_is_registered("LLC")) { // if session check fails, invoke error handler header("Location: ../loginform.php"); exit(); } $user = $_SESSION['UNAME']; include("../include/dbconfig.php"); $connection = mysql_connect($db_host, $db_user, $db_pass) or die ("Unable to connect!"); mysql_select_db($db_name); ?>
Add | Room No. | Title | Description | Status | Edit | Delete | $row[0] | $row[1] | $row[2] | $rstatus | END; } ?>