- 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 '-10,10' at line 4

select pm.*, case when (pm.pret_promotie_pmag>0 and pm.promotie_pmag=1) then pm.pret_promotie_pmag else pm.pret_site_pmag end as pretul from (produse_magazin pm left join produse_categorii pcc on pcc.id_prod_prod_cat=pm.id_pmag) where pm.status_pmag=1 and pm.tip_pmag!=3 and pm.tre_documentat_pmag=0 and ( pm.id_pmag=10528 or pm.id_pmag=10527 or pm.id_pmag=10526 or pm.id_pmag=10524 or pm.id_pmag=10522 or pm.id_pmag=10521 or pm.id_pmag=10497 or pm.id_pmag=10460 or pm.id_pmag=10458 or pm.id_pmag=10445 or pm.id_pmag=10444 or pm.id_pmag=10439 or pm.id_pmag=10433 or pm.id_pmag=10432 or pm.id_pmag=10431 or pm.id_pmag=10430 or pm.id_pmag=10424 or pm.id_pmag=10407) and pm.categorie_id_pmag='400' and pm.promotie_pmag=1 and pm.pret_promotie_pmag>0 and (pret_site_pmag>0 or tip_pmag=5) and status_pmag=1 and tip_pmag!=3 and tre_documentat_pmag=0 order by pm.promotie_pmag desc, pm.pret_promotie_pmag asc limit -10,10

Ne cerem scuze pentru aceasta problema!!! In cel mai scurt timp va fi rezolvata