ok

Mini Shell

Direktori : /home2/selectio/public_html/srivarielevators.net/application/models/
Upload File :
Current File : /home2/selectio/public_html/srivarielevators.net/application/models/Model_gallery.php

<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Model_gallery extends CI_Model 
{
    public function get_gallery_data()
    {
        $query = $this->db->query("SELECT * 
                        FROM tbl_photo
                        WHERE photo_show_home=?
                        ORDER BY photo_id ASC",array('Yes'));
        return $query->result_array();
    }
}

Zerion Mini Shell 1.0