Answers for "order by in ci"

0

order by in ci

$this->db->from($this->table_name);
$this->db->order_by("name", "asc");
$query = $this->db->get(); 
return $query->result();
Posted by: Guest on January-23-2021

Browse Popular Code Answers by Language