DB::query(SELECT * FROM `pdsnv2_fest_item_media` WHERE `fest_item_id` = AND ( (`media_type` = 'picture' AND `p_item` = 'online') OR (`media_type` = 'video' AND `v_id` = 'online') ) ORDER BY `rank`)
mysqli_query

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 ( (`media_type` = 'picture' AND `p_item` = 'online') OR (`media_type` = 'vi' at line 4 Le Printemps de septembre / Le Festival / Archives / /

Archives