[code]
CREATE TABLE `ban_ip` (
`ip` int(11) NOT NULL default \'0\',
`id` int(11) default \'0\',
UNIQUE KEY `ip` (`ip`)
KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
[/code]
CREATE TABLE `ban_ip` (
`min` bigint(20) NOT NULL,
`max` bigint(20) NOT NULL,
KEY `min` (`min`,`max`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Вроди так будет