<?PHP
//View minutes specified by $minute_date passed via URL
include('../includes/auth.php');
include('../includes/db.php');
include('../includes/sql_clean.php');
include('../includes/vars.php');
$minute_date = sql_quote($cat);
$sql = "SELECT date, body FROM meeting_minutes WHERE date='$minute_date'";
$result = mysql_query($sql,$connection) or die(mysql_error());
$row = mysql_fetch_array($result);
$minutes = $row['body'];
$html = "<html><head><title>".$chapter." :: Meeting Minutes of ".$minute_date." :: ".$school."</title><body>".$minutes."</body></html>";
echo $html;
?>