Selected employee cannot be found in the database file... ";
}else{
mysql_query("UPDATE `pms_tickets` SET `employee_id`='$regByID',`emp_id`='$regByEMPID',`concerns`='$concerns',`sent_to_dept`='$xDeptCode',`sent_to_comp`='$xCompCode' WHERE `id`='$id' AND `created_by`='$myEMPID'");
echo "
";
$message = "Hi ".$uFname."!
The ticket you have created has been modified on ".$toDate ." | ".$currentTime.". Ticket status will not be changed unless routed to new department.
Please always check your e-mail for updates or, you may login to our portal at http://www.autohub.ph/portal for real-time update of your request.
If you do not have an account yet, please visit the site and click Register.
Thank you.
Autohub Support Group";
mail($uMail, 'SUPPORT TICKET MODIFICATION', $message, 'From: support@autohubgroup.com');
}
}
?>
UPDATE TICKET