PHP:
скопировать код в буфер обмена
скопировать код в буфер обмена
- public function get_data()
- {
- $result = $this->db->query("SELECT * FROM `station` ORDER BY id DESC");
- $result_row = $result->fetch_assoc();
- return $result_row;
- $result->close();
- $this->db->close();
- }