CREATE TABLE `contactinfo` (
`id` int(6) not null auto_increment,
`firstname` varchar(15) not null,
`lastname` varchar(15) not null,
`username` varchar(15) not null,
`password` varchar(20) not null,
`email` varchar(30) not null,
`city` varchar(20) not null,
UNIQUE KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=22;
「AUTO_INCREMENT = 22;」的含義是什麼?或者代碼錯誤。謝謝。數據庫的登錄碼
爲什麼我不能在phpmyadmin中設置22? – enjoylife 2011-03-25 07:43:21
您可以查看http://trebleclick.blogspot.com/2009/01/mysql-set-auto-increment-in-phpmyadmin.html – ChrisR 2011-03-25 08:03:43