####BASEDIR####


błąd w zapytaniu: SELECT id FROM rand WHERE WHERE ( catID='1' ) AND date2 <= '2017-05-29 17:10:05' AND (date3 >= '2017-05-29 17:10:05' OR date3 = '0000-00-00 00:00:00') AND active=1 catID='2' Błąd: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE ( catID='1' ) AND date2 <= '2017-05-29 17:10:05' AND (date3 >= '2017-05-2' at line 1