MYSQL ERROR: 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 'AND id_item=2' at line 1 Q: SELECT * FROM projects_pic WHERE projects_id=2 ORDER BY AND id_item=2 soubor:/www/doc/www.mayfield.cz/www/admin/inc/functions.inc.phpradek: 69