1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY RAND() LIMIT 4' at line 1

SELECT blog_id, title, content, picture, start_date FROM blog WHERE end_date >= NOW() AND site_id = 1541 AND pageID = ORDER BY RAND() LIMIT 4

[TEP STOP]