ci 框架新手使用

一  在全局函數、類庫中,須要使用模型中的方法,用以下方式引入:php $CI=&get_instance();   $CI->load->model('xxxx');   $CI->xxxx->method();    轉載於:https://www.cnblogs.com/jackduan/p/8269839.htmlhtml
相關文章
相關標籤/搜索