- 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=13930 or pm.id_pmag=13931 or pm.id_pmag=13932 or pm.id_pmag=13933 or pm.id_pmag=13934 or pm.id_pmag=13935 or pm.id_pmag=13936 or pm.id_pmag=13937 or pm.id_pmag=13938 or pm.id_pmag=13939 or pm.id_pmag=13940 or pm.id_pmag=13941 or pm.id_pmag=13942 or pm.id_pmag=13943 or pm.id_pmag=13944 or pm.id_pmag=13945 or pm.id_pmag=13946 or pm.id_pmag=13947 or pm.id_pmag=13948 or pm.id_pmag=13949 or pm.id_pmag=13950 or pm.id_pmag=13951 or pm.id_pmag=13952 or pm.id_pmag=13953) and pm.categorie_id_pmag='456' 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