Fatal error: Uncaught mysqli_sql_exception: 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 '?='Y' AND cc.cod<>'PNG'
ORDER BY cc.ordine LIMIT 6' at line 6 in /home/amea/public_html/util.php:23
Stack trace:
#0 /home/amea/public_html/util.php(23): mysqli_query(Object(mysqli), 'SELECT cc.cod, ...')
#1 /home/amea/public_html/script/prod.scr.php(237): mysqli_query_rows('SELECT cc.cod, ...')
#2 /home/amea/public_html/index.php(34): include('/home/amea/publ...')
#3 {main}
thrown in /home/amea/public_html/util.php on line 23