BBS (PHP & MySQL) full version (eight)

Source: Internet
Author: User
Tags date1 unique id phpmyadmin
Finished Wish you sucess!!

# phpMyAdmin Mysql-dump
# http://phpwizard.net/phpMyAdmin/
#
# Host: localhost:3306 Databases: Database
# --------------------------------------------------------
#
# The structure of the datasheet ' bbs_html '
#

CREATE TABLE bbs_html (
ID int () DEFAULT ' 0 ' not NULL,
UserID varchar is not NULL,
Date1 varchar is not NULL,
Title varchar not NULL,
Content text not NULL,
R1 int () DEFAULT ' 0 ' not NULL,
R2 int () DEFAULT ' 0 ' not NULL,
Number tinyint (4) DEFAULT ' 0 ' not NULL,
Row tinyint (5) DEFAULT ' 0 ' not NULL,
R3 int () DEFAULT ' 0 ' not NULL,
R4 int () DEFAULT ' 0 ' not NULL,
R5 int () DEFAULT ' 0 ' not NULL,
UNIQUE ID (ID)
);


# --------------------------------------------------------
#
# The structure of the datasheet ' Bbs_js '
#

CREATE TABLE Bbs_js (
ID int () DEFAULT ' 0 ' not NULL,
UserID varchar is not NULL,
Date1 varchar is not NULL,
Title varchar not NULL,
Content text not NULL,
R1 int () DEFAULT ' 0 ' not NULL,
R2 int () DEFAULT ' 0 ' not NULL,
Number tinyint (4) DEFAULT ' 0 ' not NULL,
Row tinyint (5) DEFAULT ' 0 ' not NULL,
R3 int () DEFAULT ' 0 ' not NULL,
R4 int () DEFAULT ' 0 ' not NULL,
R5 int () DEFAULT ' 0 ' not NULL,
UNIQUE ID (ID)
);


# --------------------------------------------------------
#
# The structure of the datasheet ' Bbs_mysql '
#

CREATE TABLE Bbs_mysql (
ID int () DEFAULT ' 0 ' not NULL,
UserID varchar is not NULL,
Date1 varchar is not NULL,
Title varchar not NULL,
Content text not NULL,
R1 int () DEFAULT ' 0 ' not NULL,
R2 int () DEFAULT ' 0 ' not NULL,
Number tinyint (4) DEFAULT ' 0 ' not NULL,
Row tinyint (5) DEFAULT ' 0 ' not NULL,
R3 int () DEFAULT ' 0 ' not NULL,
R4 int () DEFAULT ' 0 ' not NULL,
R5 int () DEFAULT ' 0 ' not NULL,
UNIQUE ID (ID)
);


# --------------------------------------------------------
#
# The structure of the datasheet ' bbs_php '
#

CREATE TABLE bbs_php (
ID int () DEFAULT ' 0 ' not NULL,
UserID varchar is not NULL,
Date1 varchar is not NULL,
Title varchar not NULL,
Content text not NULL,
R1 int () DEFAULT ' 0 ' not NULL,
R2 int () DEFAULT ' 0 ' not NULL,
Number tinyint (4) DEFAULT ' 0 ' not NULL,
Row tinyint (5) DEFAULT ' 0 ' not NULL,
R3 int () DEFAULT ' 0 ' not NULL,
R4 int () DEFAULT ' 0 ' not NULL,
R5 int () DEFAULT ' 0 ' not NULL,
UNIQUE ID (ID)
);


# --------------------------------------------------------
#
# The structure of the datasheet ' Bbs_re '
#

CREATE TABLE Bbs_re (
ID int () DEFAULT ' 0 ' not NULL,
UserID varchar is not NULL,
Title varchar not NULL,
Content text not NULL,
Date1 varchar () not NULL
);


# --------------------------------------------------------
#
# Structure of the datasheet ' user '
#

CREATE TABLE User (
ID int () DEFAULT ' 0 ' not NULL,
UserID varchar is not NULL,
Name varchar is not NULL,
passwd varchar is not NULL,
Sex varchar (5) Not NULL,
Age char (3) is not NULL,
Question varchar is not NULL,
Answer varchar is not NULL,
Birthday varchar is not NULL,
OICQ varchar (ten) is not NULL,
Height varchar (4) Not NULL,
Myphoto char (3) not NULL,
Email varchar not NULL,
Homepage varchar () not NULL,
Hobby varchar () not NULL,
Number varchar (ten) is not NULL,
Room varchar is not NULL,
Department varchar is not NULL,
Phone varchar not NULL,
Ready1 varchar (ten) is not NULL,
Ready2 varchar (ten) is not NULL,
Ready3 varchar (ten) is not NULL,
UNIQUE userid (userid),
KEY ID (ID, userid)
);


# --------------------------------------------------------
#
# The structure of the datasheet ' User_stus '
#

CREATE TABLE User_stus (
ID int () DEFAULT ' 0 ' not NULL,
Status varchar (6) Not NULL,
UserID varchar DEFAULT ' 0 ' not NULL,
IP varchar (not NULL),
R2 char (2) not NULL,
R3 char (2) not NULL,
R4 char (2) not NULL,
PRIMARY KEY (userid)
);



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.