public function getTable($table_id)
{
$this->db->from('tables');
$this->db->where('table_id', $table_id);
$query = $this->db->get();
if ($query->num_rows() > 0) {
return $query->row_array();
}
}