There was an error
SELECT _recipe_pictures.*, date_format(_recipe_pictures.picture_modified, '%y%m%d') as moddate FROM _recipe_pictures LEFT JOIN _recipe_recipes ON picture_recipe_id = recipe_id WHERE picture_recipe_id = ?recipe_id= ORDER BY picture_id
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 '?recipe_id= ORDER BY picture_id' at line 4