[eluser]ShoeLace1291[/eluser]
How do I display just the average of the column with the select average function? This is my quuery:
Code:
$this->db->select_avg('price');
$this->db->where('restaurant', $restaurant->id);
$query = $this->db->get('menu_items');