Location: PHPKode > projects > Mozart > Mozart-0.0.4/delcontxappt.php
<?
// called from: calendar.php
// description: deletes entry from CONTXAPPT table
//
include("connect.inc");
include("reqlogin.inc");

// delete appointment from contxappt
$DelContXSQL = "DELETE FROM contxappt WHERE contxappt_id = '$id'";
$DelContX = mysql_query($DelContXSQL);

$errno = mysql_errno($db);
$error = mysql_error($db);
if ($errno == 0) {
	$Message = "Contact Successfully Disassociated";
}
else {
	$Message = "In delcontxappt.php: Error $errno: $error";
}
include("calendar.php");
exit;
?>
Return current item: Mozart