W PHPMyAdmin pokazuje dobrze, tzn tylko rekordy gdzie 'genre' jest '0';
Struktura tabeli:
-- Struktura tabeli dla `image`
--
CREATE TABLE `image` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`exp` text,
`idc` int(8) DEFAULT NULL,
`region` int(8) DEFAULT NULL,
`genre` int(1) DEFAULT NULL,
`skyline` int(1) DEFAULT NULL,
`year` int(4) DEFAULT NULL,
`month` int(2) DEFAULT NULL,
`day` int(2) DEFAULT NULL,
`author` varchar(32) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=latin2 AUTO_INCREMENT=21 ;
--
-- Zrzut danych tabeli `image`
--
INSERT INTO `image` VALUES (3, 'jpg', 2, 1, 0, 0, 2003, 4, 16, 'fgbgfb');
INSERT INTO `image` VALUES (2, 'jpg', 2, 1, 0, 0, 1994, 4, 16, 'hhh2');
INSERT INTO `image` VALUES (4, 'jpg', 1, 1, 0, 0, 1993, 3, 4, 'wed');
INSERT INTO `image` VALUES (5, 'jpg', 1, 1, 0, 0, 2003, 5, 14, 'thtyhty');
INSERT INTO `image` VALUES (6, 'jpg', 1, 1, 0, 0, 2002, 5, 6, 'tyhth');
INSERT INTO `image` VALUES (7, 'jpg', 1, 1, 0, 0, 1993, 4, 4, 'tyhtyh');
INSERT INTO `image` VALUES (8, 'jpg', 3, 1, 1, 0, 1992, 3, 25, 'hyuiio');
INSERT INTO `image` VALUES (9, 'jpg', 3, 15, 1, 0, 1991, 6, 27, 'fhfg');
INSERT INTO `image` VALUES (10, 'jpg', 3, 16, 0, 0, 1992, 3, 23, 'jjj');
INSERT INTO `image` VALUES (11, 'jpg', 3, 17, 0, 0, 1990, 3, 3, 'boja');
INSERT INTO `image` VALUES (12, 'jpg', 3, 17, 0, 0, 2003, 4, 14, 'yhyhyh');
INSERT INTO `image` VALUES (14, 'jpg', 3, 21, 1, 1, 2006, 1, 28, 'ppp');
INSERT INTO `image` VALUES (15, 'jpg', 1, 23, 1, 0, 1991, 3, 27, 'ccgcghcgh');
INSERT INTO `image` VALUES (16, 'jpeg', 3, 24, 1, 0, 1990, 5, 3, 'ole');
INSERT INTO `image` VALUES (17, 'jpg', 3, 24, 1, 0, 2002, 4, 15, 'olol');