4,250
社区成员




<?php
class Mhome extends Model{
function __construct(){
parent::__construct();
// $this->load->database();
}
function get_category(){
$query = $this->db->query("select * from category");
return $query->result();
}
}
在浏览器中运行到这个页面就弹出一个httpd.exe应用程式错误 内容为记忆体不能为“read”点确定后不能显示页面,如果不加$autoload['libraries'] = array('database');就是提示页面没有打开。