dbh_do($query); logevent($ID, "contacts", 4, "database", "Contact updated by $IRMName"); header("Location: $HTTP_REFERER"); ?>