Answers for "applying multiple order by in codeigniter"

PHP
0

applying multiple order by in codeigniter

$this->db->from($this->table_name);
$this->db->order_by("column1 asc,column2 desc");
$query = $this->db->get(); 
return $query->result();
Posted by: Guest on November-24-2020

Code answers related to "applying multiple order by in codeigniter"

Browse Popular Code Answers by Language