ok
Direktori : /home2/selectio/public_html/gangabuvana/admin/cms/application/models/ |
Current File : /home2/selectio/public_html/gangabuvana/admin/cms/application/models/Model_photo_gallery.php |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Model_photo_gallery extends CI_Model { public function all_photo() { $query = $this->db->query("SELECT * FROM tbl_photo ORDER BY photo_id ASC"); return $query->result_array(); } }