|  | 
 
| $this->db->select ('brand_id','brand_name','brand_logo'); $this->db->where ( 'brand_id <', '10' );
 $this->db->orderby ( 'brand_id', 'desc' );
 $query = $this->db->get ('ecs_brand');
 echo '<pre>';
 foreach ( $query->result () as $row ) {
 print_r ( $row );
 }
 | 
 |