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/wwwdep/public_html/util.php:22 Stack trace: #0 /home/wwwdep/public_html/util.php(22): mysqli_query(Object(mysqli), 'SELECT cc.cod, ...') #1 /home/wwwdep/public_html/script/prod.scr.php(237): mysqli_query_rows('SELECT cc.cod, ...') #2 /home/wwwdep/public_html/index.php(34): include('/home/wwwdep/pu...') #3 {main} thrown in /home/wwwdep/public_html/util.php on line 22