####BASEDIR#### SŁOWNIK


błąd w zapytaniu: SELECT id FROM rand WHERE WHERE ( catID='1' ) AND date2 <= '2017-03-28 15:50:24' AND (date3 >= '2017-03-28 15:50:24' 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-03-28 15:50:24' AND (date3 >= '2017-03-2' at line 1