Ocorreu um erro no banco de dados
Error Number: 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 '10' at line 5
select c.prod_cod, p.prod_isbn, p.prod_nome, p.prod_valor_venda, i.prod_img_arquivo from categorias_produtos c, produtos p, produtos_img i where c.cat_cod='82' and p.prod_cod=c.prod_cod and p.prod_status=1 and i.prod_cod=c.prod_cod and i.prod_img_capa=1 and c.prod_cod not in (select distinct prod_cod from ofertas where now() between oferta_datainicio and oferta_datafinal) order by p.prod_qtde desc limit ,10
Filename: /home/livalter/public_html/models/produtos_model.php
Line Number: 85