Array
(
[0] =>
[1] =>
[2] => 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 ') AND published=1 AND start_datetime<=NOW()' at line 1
[3] => 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 ') AND published=1 AND start_datetime<=NOW() ORDER BY start_datetime DESC LIMIT 0' at line 1
)
Array
(
[0] =>
[1] =>
[2] => SELECT COUNT(*) AS cnt FROM news WHERE category_id IN (5,19,) AND published=1 AND start_datetime<=NOW()
[3] => SELECT id FROM news WHERE category_id IN (5,19,) AND published=1 AND start_datetime<=NOW() ORDER BY start_datetime DESC LIMIT 0, 12
)