Welcome Guest, Not a member yet? Register   Sign In
Selecting category details and products linked with the same category.
#18

[eluser]Bigil Michael[/eluser]
Quote:function select_fleets($limit, $pgoffset)
{
$this->db->limit($limit, $pgoffset);
$this->db->order_by("category_name","ASC");
$this->db->select('car_category.category_name, car_category.category_id, car_category.details, car_category.photo');
$this->db->from('car_category');
$this->db->join('cars', 'cars.category_id = car_category.category_id');
$result_product = $this->db->get();
return $this->db->get('car_category')->result_array();
}

here limit and order_by is not working can anyone help me??????????

thanks in advance


Messages In This Thread
Selecting category details and products linked with the same category. - by El Forum - 04-08-2011, 01:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB