这是我大一的时候无聊写的数据库大作业,选的题目是宿舍管理系统。
其实本来没打算做的,临交作业的前一个星期突然遇上了妹子UI,突然就有兴趣玩一下(大雾),就随手用原生php写了一下。
因为是随手写的,所以代码很烂,大佬请绕道(跑
其实也有参考过别人的代码,但是我现在找不到那个链接了(时间过去太久了😂),等找到了马上补上Thanks
- 食用前请检查
inc
目录下的connect.php
中的数据库配置 - 如果是用我的数据表,超级管理员的帐号是20180101,密码admin(其实为了方便调试我把所有帐号的密码我都设admin了🌚)
- 登录和Cookie保存
- 登录后展示首页信息
- 列表分页
- 宿舍、学生的增删查改
- 搜索功能