11.01.2011, 12:14
It's not that hard imo.
First of all make a table structure, then it's just a simple query.
First of all make a table structure, then it's just a simple query.
Код:
CREATE TABLE IF NOT EXISTS `bans` ( `name` varchar(50) NOT NULL, `ip` varchar(16) NOT NULL, `reason` varchar(200) NOT NULL, `admin` varchar(50) NOT NULL, `unbandate` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `datebanned` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=MyISAM DEFAULT CHARSET=latin1;