SELECT a.id_bloc, a.id_content, a.type, a.position, a.online FROM cfpts_actu_bloc a WHERE id_actu= AND a.online = 1 ORDER BY a.position ASC

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 a.online = 1 ORDER BY a.position ASC' at line 4