EVOLUTION-NINJA
Edit File: Quality_approval_model.php
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Quality_approval_model extends CI_Model { public function __construct() { parent::__construct(); } public function fetch_data($table){ $this->db->select("*"); $this->db->from($table); $query = $this->db->get(); return $query->result(); } } ?>