Introduction to development idea, structure and implement method of the forum system
The combination of PHP and MySQL has the advantages in developing forum system which can ideal with articles well.
Database tables:
Father module table:
bbs_father_module(id, module_name, sort)
Son module table:
bbs_son_module(id,father_module_id,module_name,info,member_id,sort)
Member table:
bbs_member(id, name, pw, photo, register_name, last_time)
Post table:
bbs_content(id, module_id, title, content, time, member_id, times)
Post reply table:
bbs_reply(id, content_id, quote_id, content, time, member_id)
Managers table:
bbs_manage(id, name, pw)
4-1. Import front-end framework
- Bootstrap (Version 3.3.7): https://github.com/twbs/bootstrap/releases/download/v3.3.7/bootstrap-3.3.7-dist.zip
- jQuery(Version 3.3.1): https://code.jquery.com/jquery-3.3.1.min.js