dbh_do($query); logevent(-1, "IRM", 5, "setup", "$IRMName added entry $name to $tablename."); header("Location: $HTTP_REFERER"); ?>