想在web中玩多线程?解释型的脚本不可能实现,如果要求精度不够高的话可以考虑同时开多个窗口运行sql
解决方案 »
- 各位,可否帮忙看下这个编程是否有问题,在此感激不尽。
- 求教mysql批量更新问题
- 学习PHP
- 如何用个dreamweaver修改这个样式?
- 请问为何在连接数据库mysql正常,而在别人的服务器上却失败?
- 求金额转换小程序..¥21,355.13 ——》贰万壹仟叁佰伍拾伍元壹角叁分
- 初学php小问题请教:提交后还是显示当前网页问题!!!(解决后再补高分)
- 网页间的参数传递问题
- 能否使用DCOM 在Apache 领域???????????????
- 高分求教一个有关curl抓取的高难度问题,求高手指点迷津
- 请帮忙指点一下我为什么不能用for语句把mysql数据库里的新闻标题完全输出呀,而只能用while语句把mysql数据库里的新闻标题完全输出
- submit后以指定宽度、有垂直滚动条打开新窗口显示结果?
CREATE TABLE HyForum_forum (
id int(10) unsigned NOT NULL auto_increment,
sid varchar(255) DEFAULT '0' NOT NULL,
taxis tinyint(3) unsigned DEFAULT '0' NOT NULL,
parent_id int(10) unsigned DEFAULT '0' NOT NULL,
seniority_id varchar(255) DEFAULT '0' NOT NULL,
master varchar(255),
type enum('0','1') DEFAULT '0' NOT NULL,
name varchar(255) NOT NULL,
intro text,
icon varchar(255),
only_show_icon enum('0','1') DEFAULT '0',
deck_left varchar(255),
deck_right varchar(255),
picture varchar(255),
upload_file enum('0','1','sys') DEFAULT 'sys' NOT NULL,
upload_file_num tinyint(3) unsigned DEFAULT '1',
upload_file_size int(10) unsigned DEFAULT '0',
upload_file_exts varchar(255),
upload_file_picwidth smallint(5) unsigned DEFAULT '0',
upload_file_onlymaster enum('0','1') DEFAULT '0',
only_user_browse enum('0','1') DEFAULT '0' NOT NULL,
hidden enum('0','1') DEFAULT '0' NOT NULL,
attrib enum('0','1','2','3','4','5') DEFAULT '0' NOT NULL,
inte enum('0','1') DEFAULT '0' NOT NULL,
inte_hy enum('0','1') DEFAULT '0',
inte_url varchar(255),
count_real_title int(10) unsigned DEFAULT '0',
count_real_reply int(10) unsigned DEFAULT '0',
count_title int(10) unsigned DEFAULT '0',
count_reply int(10) unsigned DEFAULT '0',
count_recycle_title int(10) unsigned DEFAULT '0',
count_recycle_reply int(10) unsigned DEFAULT '0',
count_elite_title int(10) unsigned DEFAULT '0',
count_noauth_title int(10) unsigned DEFAULT '0',
count_noauth_reply int(10) unsigned DEFAULT '0',
count_close_title int(10) unsigned DEFAULT '0',
show_son enum('0','1') DEFAULT '1',
inherit_master enum('0','1') DEFAULT '1' NOT NULL,
disinherit_master_fid int(10) unsigned DEFAULT '0' NOT NULL,
inherit_allowuser enum('0','1') DEFAULT '1' NOT NULL,
disinherit_allowuser_fid int(10) unsigned DEFAULT '0' NOT NULL,
super enum('0','1') DEFAULT '1',
setpic enum('0','1') DEFAULT '1',
setuploadfile enum('0','1') DEFAULT '1',
setassistant enum('0','1') DEFAULT '1',
setallowuser enum('0','1') DEFAULT '1',
PRIMARY KEY (id),
KEY taxis (taxis)
);
INSERT INTO HyForum_forum VALUES ( '23', '0', '2', '0', '0', '', '0', 'aa', '', '', '0', '', '', '', '0', '2', '300', 'bmp,jpg,gif,png,doc,zip', '1', '1', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '1', '0', '1', '1', '1', '1', '1');
INSERT INTO HyForum_forum VALUES ( '24', '0', '3', '0', '0', '', '0', 'aa', '', '', '0', '', '', '', '0', '2', '300', 'bmp,jpg,gif,png,doc,zip', '1', '1', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '1', '0', '1', '1', '1', '1', '1');
INSERT INTO HyForum_forum VALUES ( '25', '32', '1', '20', '20,21', '', '0', 'aa', '', '', '0', '', '', '', '0', '2', '300', 'bmp,jpg,gif,png,doc,zip', '1', '1', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '1', '0', '1', '1', '1', '1', '1');
INSERT INTO HyForum_forum VALUES ( '26', '0', '4', '0', '0', '', '0', 'aa', '', '', '0', '', '', '', '0', '2', '300', 'bmp,jpg,gif,png,doc,zip', '1', '1', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '1', '0', '1', '1', '1', '1', '1');
INSERT INTO HyForum_forum VALUES ( '27', '0', '5', '0', '0', '', '0', 'aa', '', '', '0', '', '', '', '0', '2', '300', 'bmp,jpg,gif,png,doc,zip', '1', '1', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '1', '0', '1', '1', '1', '1', '1');
INSERT INTO HyForum_forum VALUES ( '28', '1', '6', '0', '0', '', '1', 'bb', '', '', '0', '', '', '', '0', '2', '300', 'bmp,jpg,gif,png,doc,zip', '1', '1', '0', '0', '0', '0', '0', '', '5', '0', '2', '0', '1', '0', '0', '2', '0', '0', '1', '1', '0', '1', '0', '1', '1', '1', '1', '1');
INSERT INTO HyForum_forum VALUES ( '29', '30', '7', '0', '0', '', '0', 'cc', '', '', '0', '', '', '', '0', '2', '300', 'bmp,jpg,gif,png,doc,zip', '1', '1', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '1', '0', '1', '1', '0', '1', '1');
INSERT INTO HyForum_forum VALUES ( '30', '0', '1', '29', '29', '', '0', 'ccc', '', '', '0', '', '', '', '0', '2', '300', 'bmp,jpg,gif,png,doc,zip', '1', '1', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '1', '0', '1', '1', '1', '1', '1');
INSERT INTO HyForum_forum VALUES ( '31', '0', '9', '0', '0', '', '0', 'asdfasdf', '', '', '0', '', '', '', '0', '2', '300', 'upload_file_exts', '1', '1', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '1', '0', '1', '1', '1', '1', '1');
INSERT INTO HyForum_forum VALUES ( '32', '0', '1', '25', '25,20,21', '', '0', 'bb', 'sdfasdfasdfa
asd
fas
dfa
sdf', '', '0', '', '', '', '0', '2', '300', 'upload_file_exts', '1', '1', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '1', '0', '1', '1', '1', '1', '1');
INSERT INTO HyForum_forum VALUES ( '33', '0', '10', '0', '0', '', '0', '测试版块', '测试一下,看看如何?', '', '0', '', '', 'Sunset.jpg', '0', '2', '300', 'upload_file_exts', '1', '1', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '1', '0', '1', '0', '1', '1', '1', '1', '1');
id int(10) unsigned NOT NULL auto_increment,
fid int(10) unsigned DEFAULT '0' NOT NULL,
title varchar(255) NOT NULL,
userid int(10) unsigned DEFAULT '0' NOT NULL,
username varchar(30) NOT NULL,
post_time int(10) unsigned DEFAULT '0' NOT NULL,
reply_userid int(10) unsigned DEFAULT '0',
reply_username varchar(30) DEFAULT 'NULL',
reply_time int(10) unsigned DEFAULT '0' NOT NULL,
reply_count int(10) unsigned DEFAULT '0',
read_count int(10) unsigned DEFAULT '0',
is_upload_file enum('0','1') DEFAULT '0' NOT NULL,
is_upload_pic enum('0','1') DEFAULT '0' NOT NULL,
master_score int(10) unsigned DEFAULT '0',
user_score int(10) unsigned DEFAULT '0',
is_top enum('0','1') DEFAULT '0' NOT NULL,
is_auth enum('0','1') DEFAULT '1' NOT NULL,
edit_userid int(3) unsigned DEFAULT '0' NOT NULL,
is_close enum('0','1') DEFAULT '0' NOT NULL,
is_elite enum('0','1') DEFAULT '0' NOT NULL,
elite_time int(10) unsigned DEFAULT '0',
is_del enum('0','1','2') DEFAULT '0' NOT NULL,
is_recycled enum('0','1') DEFAULT '0' NOT NULL,
recycled_time int(10) unsigned DEFAULT '0',
edit_username varchar(50),
edit_time int(10) unsigned DEFAULT '0' NOT NULL,
KEY id (id),
KEY reply_time (reply_time)
);
INSERT INTO hy_art_index VALUES ( '1', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '2', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '3', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '4', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '5', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '6', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '7', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '8', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '9', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '10', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '11', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '12', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '13', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '14', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '15', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '16', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '17', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '18', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '19', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
INSERT INTO hy_art_index VALUES ( '20', '1', '', '1', '', '0', '0', NULL, '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', NULL, '0');
或
INSERT INTO tbl_name VALUES (第一组值);
INSERT INTO tbl_name VALUES (第二组值);
INSERT INTO tbl_name VALUES (第三组值);
INSERT INTO tbl_name VALUES (...);