You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$query = "SELECT * FROM " . $glTablePref . "list";
if(isset($_GET['type']))
$query .= " WHERE year = '" . $_GET['type'] . "'";
$result = mysql_query($query,$con);
echo "<p>The following is the list of hostels in which the student can opt to stay. Click on any one of the to check for availability</p>\n<div align='center'><ul id='hostelList'>";