1064: 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 1 Linha : 102 Script: /var/www/byh/public_html/class.sql2.php---SELECT nome FROM categoria WHERE id_categoria =
1064: 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 del = 0 ORDER BY nome' at line 1 Linha : 102 Script: /var/www/byh/public_html/class.sql2.php---SELECT id_categoria FROM categoria WHERE id_pai = AND del = 0 ORDER BY nome1064: 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 '0) ORDER BY views DESC LIMIT 0,15' at line 1 Linha : 102 Script: /var/www/byh/public_html/class.sql2.php---SELECT * FROM produto2 WHERE del = 0 AND situacao = 1 AND fk_categoria IN (,0) ORDER BY views DESC LIMIT 0,15
1064: 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 del = 0 ORDER BY nome' at line 1 Linha : 102 Script: /var/www/byh/public_html/class.sql2.php---SELECT id_categoria FROM categoria WHERE id_pai = AND del = 0 ORDER BY nome1064: 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 '0)' at line 1 Linha : 102 Script: /var/www/byh/public_html/class.sql2.php---SELECT * FROM produto2 WHERE del = 0 AND situacao = 1 AND fk_categoria IN (,0)