Base code for getting select options for station locations

This commit is contained in:
Peter Goodhall
2021-08-23 21:56:18 +01:00
parent 831f249938
commit efac6b8d80

View File

@@ -79,7 +79,17 @@ class Logbooks extends CI_Controller {
$data['notice'] = "Station Logbooks ".$this->security->xss_clean($this->input->post('station_logbook_name', true))." Updated";
redirect('logbooks');
foreach ($this->input->post('SelectedStationLocations') as $selectedOption){
echo $selectedOption."\n";
// Check if theres already a link between logbook and location
// If no link exisits create
// Delete link if removed
}
//redirect('logbooks');
}
}