
php选择题数据库如何设计
php选择题数据表可以设计如下:
E-R图

选择题数据表
立即学习“PHP免费学习笔记(深入)”;
DESTOON B2B网站管理系统是一套完善的B2B(电子商务)行业门户解决方案。系统基于PHP+MySQL开发,采用B/S架构,模板与程序分离,源码开放。模型化的开发思路,可扩展或删除任何功能;创新的缓存技术与数据库设计,可负载千万级别数据容量及访问。
0
列名 |
说明 |
数据类型 |
约束 |
ChoiceQst_id |
试题号 |
tinyint |
not null IDENTITY(1, 1) primary key |
ChoiceQst_Question |
题型号 |
int |
not null foreign key |
ChoiceQst_Info |
内容 |
text |
not null |
ChoiceQst_OP1 |
操作1 |
text |
not null |
ChoiceQst_OP2 |
操作2 |
text |
not null |
ChoiceQst_OP3 |
操作3 |
text |
not null |
ChoiceQst_OP4 |
操作4 |
text |
not null |
ChoiceQst_answ |
答案 |
char |
not null |
更多PHP相关知识,请访问PHP中文网!
以上就是php选择题数据库如何设计的详细内容,更多请关注php中文网其它相关文章!
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号