sector.php has been linked to database