日志
- 分享
一个星期都没解决的CI问题,烦恼中…………
-
2013-1-29 10:25
-
我在model中写了一个文件名为company.php如下: ?php class Company extends CI_Model { function __construct() { parent::__construct(); $this-load-database(); } function company_insert($arr){ $this-db-insert(company', $arr); } } ? 在controllers下写的文件如下 : ?php if ( ! defined('BASEPATH' ...
-
1037 次阅读|0 个评论