Welcome Guest, Not a member yet? Register   Sign In
Split RSS Feed into three Feeds (based on Category)
#4

[eluser]invision[/eluser]
All fixed Smile

Decided to use a new function in my Model.

Code:
function getSpecificRecentVacancies($slug) {
          $this->db->where('category_id',$slug);
          $this->db->orderby('pubdate', 'desc');
          //$this->db->where('post_visible', 1);
          $this->db->limit(10);
          return $this->db->get('vacancies');    
  }


Thanks for your time.


Messages In This Thread
Split RSS Feed into three Feeds (based on Category) - by El Forum - 05-08-2010, 06:44 AM
Split RSS Feed into three Feeds (based on Category) - by El Forum - 05-08-2010, 02:07 PM
Split RSS Feed into three Feeds (based on Category) - by El Forum - 05-09-2010, 01:56 PM
Split RSS Feed into three Feeds (based on Category) - by El Forum - 05-09-2010, 02:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB