siddharth_application/application/models/store_model.php
gandhimathi Bharathirajan 98dbdd9a4d 'IGRissuefixed'
2017-07-05 19:00:42 +05:30

24 lines
411 B
PHP

<?php if(!defined('BASEPATH')) exit('No direct script access allowed');
class store_model extends CI_Model
{
function viewStock()
{
$this->db->select('*');
$this->db->from('T_Store_Stockdetails ');
$query = $this->db->get();
//print_r( $this->db->last_query());
$result = $query->result();
return $result;
}
}