Home >Backend Development >PHP Tutorial >A forum program that imitates oso (Part 1)_PHP tutorial
I often use the oso forum, and I personally feel that it is quite good, so I compiled a program that imitated the oso interface and shared it with everyone.
The program consists of three parts, namely displaying topic information, displaying forum information, and adding forum information. The topic and forum content adopt a master-slave relationship.
The table structure is as follows:
drop table fr_t_forumtitle;
create table fr_t_forumtitle(
id integer,
state varchar(1),
readcount integer,
replycount integer,
title varchar(100),
createman varchar(20),
replyman varchar(20),
replytime datetime);
drop table fr_t_forumcontent;
create table fr_t_forumcontent(
id integer,
replyman varchar(20),
replytime datetime,
replyemail varchar(100),
replyhttp varchar(100),
re plyface smallint,
content text) ;
drop table fr_t_parameter;
create table fr_t_parameter(
code varchar(10),
name varchar(40),
content varchar(10));
insert into fr_t_parameter(code,name,content) values(pageline,page number,20); /* Adjust this parameter to modify the number of lines per page*/
Program 1: mainforum.php(do Develop languages for current mainstream development)
Current location: Home page - Forum |   | Forum Search |   |