EVOLUTION-NINJA
Edit File: Pkg_list_model.php
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Pkg_list_model extends CI_Model { public function __construct() { parent::__construct(); } public function group_by_fetch_where_data($table,$where) { $this->db->select("*"); $this->db->group_by("osl"); $this->db->from($table); $this->db->where($where); $query = $this->db->get(); return $query->result(); } public function pkg_fetch_where_data($table,$where) { $this->db->select("*"); $this->db->from($table); $this->db->where($where); $query = $this->db->get(); return $query->result(); } public function pkg_display_fabric_packing_id_embroidryinspection($id) { $this->db->select('*'); $this->db->from('fabric_madeups_delivery_confirmation'); $this->db->where('id',$id); $query=$this->db->get(); return $query->row(); } } ?>