Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

codeigniter order by

$this->db->from($this->table_name);
$this->db->order_by("name", "asc");
$query = $this->db->get(); 
return $query->result();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #codeigniter #order
ADD COMMENT
Topic
Name
7+8 =