user-287
17.01.2007 18:39
$variable1 = timestamp vom 17.01.2007 00:00:00
$variable2 = timestamp vom 17.01.2007 23:59:59
Siehe mktime();
SELECT *, COUNT(`id`) AS `anzahl` WHERE `kat`= 'special' AND `start_date` > $variable1 AND end_date < $variable2 GROUP BY kat