简单的学生在线练习系统(PHP版)

简单的学生在线练习系统(PHP版)

前一段时间课程需要弄了一下,现在答辩完了,打算把共享出来
开发系统:windows 10
开发环境:PHP , Apache
环境配置:教程详解,参考个人CSDN博客:传送门
工具选择:HBuilder , PHP , PHPWAMP , MySQL Notifier
主体语言:PHP , H5
代码链接:百度云 密码:435q
功能设计:三大模块
一,注册登录模块
二,管理员功能模块
三,普通用户功能模块
在这里插入图片描述
数据流图
在这里插入图片描述

设计数据表
在这里插入图片描述

通用文件配置(移植时需根据用户计算机情况更改)

<?phperror_reporting('E_ALL&~E_NOTICE');$host_name="localhost:3306";$host_user="root";$host_pass="886019";$db_name="test";$test_user="test_user";$test_question="test_question";$test_answer="test_answer";$test_exam="test_exam";$my_con=mysql_connect($host_name,$host_user,$host_pass);mysql_select_db($db_name, $my_con);mysql_query( "SET names UTF-8");?>1234567891011121314

localhost:3306为本地服务器,移植时根据用户计算机情况更改
root为用户名,移植时根据用户计算机情况更改
886019为用户电脑MySQL密码
在使用前,需要用户将MySQL的严格格式化要求修改为否(在安装时默认为是)
也可以在my.ini文件内将sql-mode后内容修改为:
“NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION”

猜你喜欢

转载自blog.csdn.net/zy17822307856/article/details/112915312
今日推荐