VM暫存
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 line
379B

  1. <?php
  2. if (!defined('BASEPATH')) exit('No direct script access allowed');
  3. class Altpay_model extends CI_Model {
  4. public function __construct() {
  5. parent::__construct();
  6. $this->db=$this->load->database('local',true);
  7. }
  8. public function sel_info() {
  9. $this->db->from('info');
  10. $rows = $this->db->get();
  11. return $rows->result_array();
  12. }
  13. }