本文整理匯總了PHP中DB_C函數的典型用法代碼示例。如果您正苦於以下問題:PHP DB_C函數的具體用法?PHP DB_C怎麽用?PHP DB_C使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了DB_C函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: DB_C
DB_C("CREATE TABLE `pre_forum_forumfield` (
`fid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`description` text NOT NULL,
`password` varchar(12) NOT NULL DEFAULT '',
`icon` varchar(255) NOT NULL DEFAULT '',
`redirect` varchar(255) NOT NULL DEFAULT '',
`attachextensions` varchar(255) NOT NULL DEFAULT '',
`creditspolicy` mediumtext NOT NULL,
`formulaperm` text NOT NULL,
`moderators` text NOT NULL,
`rules` text NOT NULL,
`threadtypes` text NOT NULL,
`threadsorts` text NOT NULL,
`viewperm` text NOT NULL,
`postperm` text NOT NULL,
`replyperm` text NOT NULL,
`getattachperm` text NOT NULL,
`postattachperm` text NOT NULL,
`postimageperm` text NOT NULL,
`spviewperm` text NOT NULL,
`seotitle` text NOT NULL,
`keywords` text NOT NULL,
`seodescription` text NOT NULL,
`supe_pushsetting` text NOT NULL,
`modrecommend` text NOT NULL,
`threadplugin` text NOT NULL,
`extra` text NOT NULL,
`jointype` tinyint(1) NOT NULL DEFAULT '0',
`gviewperm` tinyint(1) unsigned NOT NULL DEFAULT '0',
`membernum` smallint(6) unsigned NOT NULL DEFAULT '0',
`dateline` int(10) unsigned NOT NULL DEFAULT '0',
`lastupdate` int(10) unsigned NOT NULL DEFAULT '0',
`activity` int(10) unsigned NOT NULL DEFAULT '0',
`founderuid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`foundername` varchar(255) NOT NULL DEFAULT '',
`banner` varchar(255) NOT NULL DEFAULT '',
`groupnum` smallint(6) unsigned NOT NULL DEFAULT '0',
`commentitem` text NOT NULL,
`relatedgroup` text NOT NULL,
`picstyle` tinyint(1) NOT NULL DEFAULT '0',
`widthauto` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`fid`),
KEY `membernum` (`membernum`),
KEY `dateline` (`dateline`),
KEY `lastupdate` (`lastupdate`),
KEY `activity` (`activity`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
示例2: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_forum_forumrecommend`;");
DB_C("CREATE TABLE `pre_forum_forumrecommend` (
`fid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`tid` mediumint(8) unsigned NOT NULL,
`typeid` smallint(6) NOT NULL,
`displayorder` tinyint(1) NOT NULL,
`subject` char(80) NOT NULL,
`author` char(15) NOT NULL,
`authorid` mediumint(8) NOT NULL,
`moderatorid` mediumint(8) NOT NULL,
`expiration` int(10) unsigned NOT NULL,
`position` tinyint(1) NOT NULL DEFAULT '0',
`highlight` tinyint(1) NOT NULL DEFAULT '0',
`aid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`filename` char(100) NOT NULL DEFAULT '',
PRIMARY KEY (`tid`),
KEY `displayorder` (`fid`,`displayorder`),
KEY `position` (`position`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例3: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_portal_topic_pic`;");
DB_C("CREATE TABLE `pre_portal_topic_pic` (
`picid` mediumint(8) NOT NULL AUTO_INCREMENT,
`topicid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`uid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`username` varchar(15) NOT NULL DEFAULT '',
`dateline` int(10) unsigned NOT NULL DEFAULT '0',
`filename` varchar(255) NOT NULL DEFAULT '',
`title` varchar(255) NOT NULL DEFAULT '',
`size` int(10) unsigned NOT NULL DEFAULT '0',
`filepath` varchar(255) NOT NULL DEFAULT '',
`thumb` tinyint(1) NOT NULL DEFAULT '0',
`remote` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`picid`),
KEY `topicid` (`topicid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例4: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_common_tagitem`;");
DB_C("CREATE TABLE `pre_common_tagitem` (
`tagid` smallint(6) unsigned NOT NULL DEFAULT '0',
`itemid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`idtype` char(10) NOT NULL DEFAULT '',
UNIQUE KEY `item` (`tagid`,`itemid`,`idtype`),
KEY `idtype` (`idtype`,`itemid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
DB_I("replace into `pre_common_tagitem` values('1','6','tid');");
DB_I("replace into `pre_common_tagitem` values('1','9','tid');");
DB_I("replace into `pre_common_tagitem` values('1','12','tid');");
DB_I("replace into `pre_common_tagitem` values('1','25','tid');");
DB_I("replace into `pre_common_tagitem` values('2','6','tid');");
DB_I("replace into `pre_common_tagitem` values('3','6','tid');");
DB_I("replace into `pre_common_tagitem` values('4','6','tid');");
DB_I("replace into `pre_common_tagitem` values('5','9','tid');");
DB_I("replace into `pre_common_tagitem` values('6','12','tid');");
DB_I("replace into `pre_common_tagitem` values('7','12','tid');");
DB_I("replace into `pre_common_tagitem` values('8','25','tid');");
DB_I("replace into `pre_common_tagitem` values('8','33','tid');");
DB_I("replace into `pre_common_tagitem` values('8','37','tid');");
DB_I("replace into `pre_common_tagitem` values('9','25','tid');");
DB_I("replace into `pre_common_tagitem` values('9','30','tid');");
示例5: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_forum_attachment_exif`;");
DB_C("CREATE TABLE `pre_forum_attachment_exif` (
`aid` mediumint(8) unsigned NOT NULL,
`exif` text NOT NULL,
PRIMARY KEY (`aid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例6: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `lzh_jubao`;");
DB_C("CREATE TABLE `lzh_jubao` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL,
`uemail` varchar(60) NOT NULL,
`b_uid` int(11) NOT NULL,
`b_uname` varchar(50) NOT NULL,
`reason` varchar(100) NOT NULL,
`text` varchar(500) NOT NULL,
`add_time` int(10) unsigned NOT NULL,
`add_ip` varchar(16) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8");
DB_I("replace into `lzh_jubao` values('1','1','lzsrth@yahoo.com.cn','93','jiedai','此用戶在其他網站有借款','附加信息附加信息附加信息附加信息','1342970429','113.247.35.168');");
DB_I("replace into `lzh_jubao` values('2','108','342556015@qq.com','1','test','此用戶在其他網站有借款','枯仍枯仍fsd wefwef','1344795356','127.0.0.1');");
DB_I("replace into `lzh_jubao` values('3','2975','1037525011@qq.com','2975','郵政銀行李行長','此用戶冒用他人身份','qe akdv sk;sajf','1348839540','221.235.71.40');");
?>
示例7: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `lzh_comment`;");
DB_C("CREATE TABLE `lzh_comment` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(10) unsigned NOT NULL,
`uname` varchar(20) NOT NULL,
`tid` int(10) unsigned NOT NULL,
`type` tinyint(4) NOT NULL,
`comment` varchar(500) NOT NULL,
`add_time` int(10) unsigned NOT NULL,
`deal_time` int(10) unsigned NOT NULL,
`deal_info` varchar(500) NOT NULL,
`name` varchar(50) NOT NULL,
PRIMARY KEY (`id`),
KEY `type` (`type`,`tid`,`id`)
) ENGINE=MyISAM AUTO_INCREMENT=52 DEFAULT CHARSET=utf8");
DB_I("replace into `lzh_comment` values('43','2873','phxzsgg','34','1','dfsdfsdf','1347083412','0','','進貨周轉');");
DB_I("replace into `lzh_comment` values('44','2971','coco78721','148','1','vb','1348840693','0','','開店借款');");
DB_I("replace into `lzh_comment` values('45','3019','test123','168','1','啊啊啊','1357872840','0','','頂頂頂頂,好標');");
DB_I("replace into `lzh_comment` values('46','3019','test123','168','1','未完全','1357872845','0','','頂頂頂頂,好標');");
DB_I("replace into `lzh_comment` values('47','3019','test123','168','1','為全文','1357872849','0','','頂頂頂頂,好標');");
DB_I("replace into `lzh_comment` values('48','3019','test123','168','1','企鵝王企鵝','1357872854','0','','頂頂頂頂,好標');");
DB_I("replace into `lzh_comment` values('49','3019','test123','168','1','為全文','1357872858','0','','頂頂頂頂,好標');");
DB_I("replace into `lzh_comment` values('50','3019','test123','168','1','啊實打實的','1357872863','0','','頂頂頂頂,好標');");
DB_I("replace into `lzh_comment` values('51','3019','test123','168','1','阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈阿斯鋼感到驕傲是感覺哈','1357873063','0','','頂頂頂頂,好標');");
示例8: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_home_pokearchive`;");
DB_C("CREATE TABLE `pre_home_pokearchive` (
`pid` mediumint(8) NOT NULL AUTO_INCREMENT,
`pokeuid` int(10) unsigned NOT NULL DEFAULT '0',
`uid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`fromuid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`note` varchar(255) NOT NULL DEFAULT '',
`dateline` int(10) unsigned NOT NULL DEFAULT '0',
`iconid` smallint(6) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`pid`),
KEY `pokeuid` (`pokeuid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例9: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_common_myinvite`;");
DB_C("CREATE TABLE `pre_common_myinvite` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`typename` varchar(100) NOT NULL DEFAULT '',
`appid` mediumint(8) NOT NULL DEFAULT '0',
`type` tinyint(1) NOT NULL DEFAULT '0',
`fromuid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`touid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`myml` text NOT NULL,
`dateline` int(10) unsigned NOT NULL DEFAULT '0',
`hash` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `hash` (`hash`),
KEY `uid` (`touid`,`dateline`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例10: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `lzh_member_login`;");
DB_C("CREATE TABLE `lzh_member_login` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`uid` int(10) unsigned NOT NULL,
`ip` varchar(15) NOT NULL,
`add_time` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`),
KEY `uid` (`uid`,`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9430 DEFAULT CHARSET=utf8");
DB_I("replace into `lzh_member_login` values('1','1','222.244.2.23','1338898110');");
DB_I("replace into `lzh_member_login` values('2','1','222.244.2.23','1338899110');");
DB_I("replace into `lzh_member_login` values('3','1','127.0.0.1','1338898927');");
DB_I("replace into `lzh_member_login` values('4','1','127.0.0.1','1338950597');");
DB_I("replace into `lzh_member_login` values('5','1','127.0.0.1','1338958832');");
DB_I("replace into `lzh_member_login` values('6','1','127.0.0.1','1338963100');");
DB_I("replace into `lzh_member_login` values('7','1','127.0.0.1','1338965020');");
DB_I("replace into `lzh_member_login` values('8','1','127.0.0.1','1338972184');");
DB_I("replace into `lzh_member_login` values('9','1','127.0.0.1','1338986696');");
DB_I("replace into `lzh_member_login` values('10','1','127.0.0.1','1339038026');");
DB_I("replace into `lzh_member_login` values('11','1','127.0.0.1','1339121112');");
DB_I("replace into `lzh_member_login` values('12','1','127.0.0.1','1339123713');");
DB_I("replace into `lzh_member_login` values('13','1','127.0.0.1','1339131321');");
DB_I("replace into `lzh_member_login` values('14','1','127.0.0.1','1339148449');");
示例11: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `lzh_friend`;");
DB_C("CREATE TABLE `lzh_friend` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`link_txt` varchar(50) NOT NULL,
`link_href` varchar(50) NOT NULL,
`link_img` varchar(100) NOT NULL DEFAULT ' ',
`link_order` int(1) NOT NULL DEFAULT '0',
`link_type` int(1) NOT NULL DEFAULT '0',
`is_show` int(1) NOT NULL DEFAULT '1',
`game_id` int(11) NOT NULL DEFAULT '0',
`game_name` char(50) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `game_id` (`game_id`)
) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=utf8");
DB_I("replace into `lzh_friend` values('26','網貸點評網','http://www.wangdaidp.com','./UF/Uploads/Friends/wangdaidp4.gif','20','1','1','0','');");
?>
示例12: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_portal_comment_moderate`;");
DB_C("CREATE TABLE `pre_portal_comment_moderate` (
`id` int(10) unsigned NOT NULL DEFAULT '0',
`idtype` varchar(15) NOT NULL DEFAULT '',
`status` tinyint(3) NOT NULL DEFAULT '0',
`dateline` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idtype` (`idtype`,`status`,`dateline`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例13: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_home_visitor`;");
DB_C("CREATE TABLE `pre_home_visitor` (
`uid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`vuid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`vusername` char(15) NOT NULL DEFAULT '',
`dateline` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`uid`,`vuid`),
KEY `vuid` (`vuid`),
KEY `dateline` (`dateline`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例14: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_common_mailqueue`;");
DB_C("CREATE TABLE `pre_common_mailqueue` (
`qid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`cid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`subject` text NOT NULL,
`message` text NOT NULL,
`dateline` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`qid`),
KEY `mcid` (`cid`,`dateline`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>
示例15: DB_D
<?php
/*
SoftName : JingPai2010 Version 2012
Author : lzhhand
Copyright: Powered by www.jingpai2010.com
*/
DB_D("DROP TABLE IF EXISTS `pre_connect_memberbindlog`;");
DB_C("CREATE TABLE `pre_connect_memberbindlog` (
`mblid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`uid` mediumint(8) unsigned NOT NULL DEFAULT '0',
`uin` char(40) NOT NULL,
`type` tinyint(1) NOT NULL DEFAULT '0',
`dateline` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`mblid`),
KEY `uid` (`uid`),
KEY `uin` (`uin`),
KEY `dateline` (`dateline`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
?>