摘要: 用tp方法查询班级表,同时在表内输出学生人数 $db_clas = M('clas'); $db_stu = M('stu'); $data_clas = $db_clas->select(); //foreach 循环 foreach($data_clas as $item=>$value){ $ 阅读全文
posted @ 2018-01-17 14:47 迪恩杰 阅读(406) 评论(1) 推荐(0) 编辑