Cloudlog/application/models/Search.php
Peter Goodhall f5f8243fc2 Revert "Merge branch 'station_logbooks' into master"
This reverts commit 246cec2d66, reversing
changes made to 57f370aa1e.
2021-11-14 11:28:50 +00:00

25 行
无行尾
401 B
PHP

<?php
class Search extends CI_Model {
function __construct()
{
parent::__construct();
}
function callsign_iota($reference) {
$this->db->where('COL_IOTA', $reference);
$query = $this->db->get($this->config->item('table_name'));
return $query;
}
function get_table_columns() {
$query = $this->db->query('DESCRIBE '.$this->config->item('table_name'));
return $query;
}
}
?>