Welcome Guest, Not a member yet? Register   Sign In
$this->db->orderby ?
#2

[eluser]mohsin917[/eluser]
Buddy I don know that you can put this "sub_area = ".$sub_area in order_by function...
In this function you can give it 1st the field name and 2nd order. If you want to access records where "sub_area = '".$sub_area."'" then use this where funcition like

$this->db->where('sub_area', $sub_area);


Messages In This Thread
$this->db->orderby ? - by El Forum - 03-09-2010, 06:03 AM
$this->db->orderby ? - by El Forum - 03-09-2010, 07:13 AM
$this->db->orderby ? - by El Forum - 03-09-2010, 07:17 AM
$this->db->orderby ? - by El Forum - 03-09-2010, 07:22 AM
$this->db->orderby ? - by El Forum - 03-09-2010, 10:05 AM
$this->db->orderby ? - by El Forum - 03-09-2010, 12:50 PM
$this->db->orderby ? - by El Forum - 03-09-2010, 01:05 PM
$this->db->orderby ? - by El Forum - 03-09-2010, 02:50 PM
$this->db->orderby ? - by El Forum - 03-09-2010, 03:14 PM
$this->db->orderby ? - by El Forum - 03-09-2010, 03:48 PM
$this->db->orderby ? - by El Forum - 03-09-2010, 05:36 PM
$this->db->orderby ? - by El Forum - 03-09-2010, 07:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB