SHARE
TWEET

model tutoriel_

tonny16 Jul 17th, 2017 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public function tutoriel_securite()
  2. {
  3.   $this->db->select('*');
  4.     $this->db->from('categories');
  5.     $this->db->join('tutoriel', 'tutoriel.categorie = categories.id');
  6.     $this->db->where('categorie', '1');
  7.  
  8.     $this->tutoriel_securite = $this->db->get()->result();
  9.  
  10.     return $this->tutoriel_securite;
  11. }
RAW Paste Data
Top