摘要: 首先看数据表: index.php 入口文件 <?phpinclude "StudentController.php"; StudentController.php 控制器 <?phprequire_once ("StudentModel.class.php");$modelObj = new St 阅读全文
posted @ 2022-04-10 17:48 崇尚技术 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 首先看数据表: index.php 入口文件 <?phpinclude "StudentController.php"; StudentController.php 控制器 <?phprequire_once ("StudentModel.class.php");$modelObj = new St 阅读全文
posted @ 2022-04-10 17:40 崇尚技术 阅读(35) 评论(0) 推荐(0) 编辑
摘要: index.php入口文件 <?phprequire_once "Controller.php"; Controller.php控制器 <?php//包含模型类文件,注意是先引用模型后引用视图require_once ("model.class.php");//获取客户传递的参数,给个默认值为3$t 阅读全文
posted @ 2022-04-10 15:05 崇尚技术 阅读(41) 评论(0) 推荐(0) 编辑