<?
// called from: updappt.php
// description: inserts new contact association to CONTXAPPT.
if ($ForContact) {
$ContXApptSQL = "INSERT INTO contxappt (contxappt_id, xappt_id, xcont_id) VALUES (NULL, '$id', '$ForContact')";
$ContXAppt = mysql_query($ContXApptSQL);
$errno = mysql_errno($db);
$error = mysql_error($db);
if (!($errno == 0)) {
$Message = "In inscontxappt.inc - Error $errno: $error";
}
}
?>