Paintings
Testing output:
> MySQL ERROR: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 'ORDER BY priority, imagename' at line 4 query: SELECT image_id FROM images WHERE item_id = ORDER BY priority, imagename > MySQL ERROR: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 '' at line 4 query: SELECT title, def_article FROM items, definatearticles WHERE items.def_art_id = definatearticles.def_art_id AND item_id= > MySQL ERROR: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 '' at line 4 query: SELECT title, def_article FROM items, definatearticles WHERE items.def_art_id = definatearticles.def_art_id AND item_id= > MySQL ERROR: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 isactive=1' at line 4 query: SELECT count(option_id) FROM itemoptions WHERE item_id= AND isactive=1