//此為bbs.sql
CREATE TABLE bbs_area (
id int(10) unsigned DEFAULT '0' NOT NULL auto_increment,
(150) NOT NULL,
正文NOT NULL,
電子郵件varchar(50),
登入varchar(20), >);
INSERT INTO bbs_area VALUES ( '1', 'master', '癚階跋', '', 'jerry@mail.jerry.com.tw', 'master', '1111111 ');
建立表格bbs_sml (
id int(8) unsigned DEFAULT '0' NOT NULL auto_increment,
. 🎜> 電子郵件char(60) NOT NULL,
PRIMARY KEY (id),
KEY sid (sid),
表bbs_subj (
id int(10) unsigned DEFAULT '0' NOT NULL auto_increment,
aid int(10) unsigned DEFAULT '0' NOTULL N, 內文NOT 00:00' NOT NULL,
,檢視> KEY help (援助),
KEY good (好),
KEY wdate (wdate)
);
建立表 105_docs
);
建立表 105_docs (cm_docs) (500)> 0' NOT NULL auto_increment,
aid int(10) unsigned DEFAULT '0' NOT NULL,
sid int(10 ) unsigned DEFAULT '0' NOT 🎜> 正文NOT NULL,
海報varchar(20) NOT NULL,
電子郵件varchar(50),
pip varchar(20) NOT NULL,
pip varchar(20) NOT NULL,
pip varchar(20) NOT NULL, 視圖int(8) unsigned DEFAULT '1' NOT NULL,
好int(2) unsigned DEFAULT '0' NOT NULL,
KEY help (協助),
KEY good (好),
KEY wdate (wdate)
);
建立表格DEFAULT '0' NOT NULL auto_increment,
sid int(8) unsigned DEFAULT '0' NOT NULL,
banner char(80 ) NOT NULL,
banner char(80 ) NOT NULL,
banner char(80 ) NOT NULL,
char(80) NOT NULL,
sel_2 char(80) NOT NULL,
sel_3 char(80) NOT NULL,
sel_4 char(80) NOT NULL,
sel_4 char(80) NOT NULL,
sel_4 char(80) NOTULL, sel_6 char(80) NOT NULL,
sel_7 char(80) NOT NULL,
sn_0 int(8)預設「0」不為空,
」不為空,
sn_2 int(8) 預設「0」不為空,
sn_3 int(8) 預設「0」不為空NULL,
sn_4 int(8) 預設為「0」不為空,
sn_5 int(8) 預設「0」不為空,
sn_6 int(8) 預設「0」不為空,
sn_7 int(8) 預設「0」不為空,
主鍵(id)
);
//此為sql.php3
//此為sql.php3
//此為sql.php3
$sql['user']="root";
$sql['passwd']="戈畐盞絃";
$sql['db']="惡戈畐嘿";
$sql['host']="localhost";
? >
http://www.bkjia.com/PHPjc/315592.html
www.bkjia.com
true
http: //www.bkjia.com/PHPjc/315592.html