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 ') and (cp.CATEGORIE=ca.ID) and (pr.ID=cp.PRODUIT) and ((pr.STOCK>0)or(pr.STOC...' at line 1 in /home/btk/web/site.agayn.com/public_html/class/bdd.class:75
Stack trace:
#0 /home/btk/web/site.agayn.com/public_html/class/bdd.class(75): mysqli_query()
#1 /home/btk/web/site.agayn.com/public_html/class/TablePRODUITS.class(867): DBC::query()
#2 /home/btk/web/site.agayn.com/public_html/class/TplSimple.class(678): O_TablePRODUITS->GetTabIdMulti()
#3 /home/btk/web/site.agayn.com/public_html/class/TplSimple.class(768): CTpl->GetIdProduits()
#4 /home/btk/web/site.agayn.com/public_html/class/TplSimple.class(2273): CTpl->InitSql()
#5 /home/btk/web/site.agayn.com/public_html/boutique/index.php(247): CTpl->LoadTpl()
#6 {main}
thrown in /home/btk/web/site.agayn.com/public_html/class/bdd.class on line 75