Erreur sur SQL :
select count(ID_REF) as CPT FROM REF WHERE VALIDE_REF=1 AND REF.ID_SECTION in (,2,8,3,|,2,8,8,)
erreur : 1064: 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 '2,8,3,|,2,8,8,)' at line 1
Erreur sur SQL :
select REF.*, DATE_FORMAT(DATE_REF, '%d/%m/%Y %H:%i') DDATE_REF, B.PARENT_SECTION, TITRE_ETAT,
B.ID_SECTION as ID1, B.TITRE_SECTION as TITRE1,
C.ID_SECTION as ID2, C.TITRE_SECTION as TITRE2,
D.ID_SECTION as ID3, D.TITRE_SECTION as TITRE3,
TITRE_MARQUE, TITRE_AUTEUR, TITRE_TVA,
PRIXHT_REF * TITRE_TVA as PRIXTTC_REF FROM REF
INNER JOIN SECTION B on (REF.ID_SECTION=B.ID_SECTION)
LEFT JOIN SECTION C on (B.PARENT_SECTION=C.ID_SECTION and C.ID_SECTION<>1)
LEFT JOIN SECTION D on (C.PARENT_SECTION=D.ID_SECTION and D.ID_SECTION<>1)
INNER JOIN MARQUE on (REF.ID_MARQUE=MARQUE.ID_MARQUE)
INNER JOIN AUTEUR on (REF.ID_AUTEUR=AUTEUR.ID_AUTEUR)
INNER JOIN ETAT on (REF.ID_ETAT=ETAT.ID_ETAT)
INNER JOIN TVA on (REF.ID_TVA=TVA.ID_TVA)
WHERE VALIDE_REF=1 AND REF.ID_SECTION in (,2,8,3,|,2,8,8,) ORDER BY DATE_REF DESC LIMIT 21
erreur : 1064: 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 '2,8,3,|,2,8,8,) ORDER BY DATE_REF DESC LIMIT 21' at line 14

Fatal error: Uncaught Error: Call to undefined function pre_match() in /var/www/vhosts/phenomenej.fr/httpdocs/inc/site.inc.php:543 Stack trace: #0 /var/www/vhosts/phenomenej.fr/httpdocs/www.phenomenej.fr/livres/index.php(28): publi_rapport() #1 {main} thrown in /var/www/vhosts/phenomenej.fr/httpdocs/inc/site.inc.php on line 543