Cry adlı üyeden alıntı

Hocam codeigniter kullanıyorum kod yapısı şu şekilde

function get_all_category_videos($category_id){
$query = $this->db->select('videos.video_id,videos.title,videos.title_alt,videos.sef_uri,videos.parts,videos.season_id,videos.establish_date')
->from('videos')
->where('videos.status !=',2)
->where('videos.category_id',$category_id)
->order_by('video_id ASC')
->get('');
if($query->num_rows() > 0)
{
return $query->result_array();
}
return FALSE;
}


function get_all_category_videos($category_id){
$query = $this->db->select('videos.video_id,videos.title,videos.title_alt,videos.sef_uri,videos.parts,videos.season_id,videos.establish_date')
->from('videos')
->where('videos.status !=',2)
->where('videos.category_id',$category_id)
->order_by('video_id+0 ASC')
->get('');
if($query->num_rows() > 0)
{
return $query->result_array();
}
return FALSE;
}

Şimdi dener misiniz?