[QSOs] Added QSOs per month

This commit is contained in:
Andreas Kristiansen
2024-11-22 16:16:39 +01:00
parent ef3e642e8e
commit 261bd38b18
4 changed files with 101 additions and 0 deletions

View File

@@ -48,4 +48,14 @@ class Dayswithqso extends CI_Controller {
echo json_encode($data);
}
public function get_months() {
//load model
$this->load->model('dayswithqso_model');
// get data
$data = $this->dayswithqso_model->getMonthsOfYear();
header('Content-Type: application/json');
echo json_encode($data);
}
}