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