<?php
////////////////////////////////////////////////////////////////////////
// Breeze Website Builder
// Copyright EB Dynamics, Inc., Edward Lemmers, P.E.
// For licensing, see license.txt.
// Revised: 2/8/2012	ELL
// Added table prefix handling.
//

	include ("check_session.php");
	
	$desc_remove = $_REQUEST['desc_remove'];
	$ID = $_REQUEST['ID'];

		
	$query = "DELETE FROM " . BWB_TABLE_PREFIX . "schedule WHERE ID = $ID";
	$cnt = $bwb_dbh->exec($query);
	
	print "Event <b>$desc_remove</b> has been deleted.";
	
//	header("Location: edit_schedule.php");
	
?>
