日期:2014-05-16 浏览次数:20788 次
CREATE TABLE `test` ( `id` int(11) NOT NULL AUTO_INCREMENT, `number` varchar(21) DEFAULT NULL, `display_name` varchar(100) DEFAULT NULL, `number_desc` varchar(100) DEFAULT NULL, `update_time` datetime DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=gbk
$linkID=@mysql_connect("localhost","root","000000") or die("you could notconnect mysql"); @mysql_select_db("test") or die("could not select database!"); mysql_query("SET NAMES 'GBK'");