04 2023 档案
摘要:Db::query('select * from tp5_user where id = ? || name = ?',[$id,'Tom']); Db::execute('insert into tp5_user(name,age) values(?,?)',[$name,$age]); Db::
阅读全文
摘要:index继承基类Base,采用$this->view->fetch()进行视图渲染,修改/view/index/index.html的js、css等引用 但仍不能加载静态资源文件 需在app/config.php中修改 // 视图输出字符串内容替换 'view_replace_str' => []
阅读全文