SELECT comID,chapo,type,titre,resume,organisation FROM skc_comspotlight AS spotlight
LEFT JOIN skc_com AS communique ON spotlight.comID=communique.communiqueID
WHERE regID=5 AND catID= AND date_deb<=NOW() AND date_fin>=NOW() ORDER BY priorite_affichage DESC
Echec : 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 'AND date_deb<=NOW() AND date_fin>=NOW() ORDER BY priorite_affichage DESC' at line 3
Erreur
Retour à la page précédente
SELECT communiqueID,categorieID,titre,resume,organisation,cache_url,date,date_validite,specialID FROM skc_com
LEFT JOIN skc_regcom ON skc_regcom.comID=skc_com.communiqueID
WHERE valide=1 AND date<="2024-11-22" AND skc_regcom.regID="5" ORDER BY date DESC, communiqueID DESC, priorite DESC LIMIT -10,10
Echec : 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 '-10,10' at line 3
Erreur
Retour à la page précédente