Instants

    WordPress database error: [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 A.sistema='InstantVida' AND E.nomp='tipusinstant' AND D.nomp='diainstan...' at line 8]
    SELECT A.Idelement2 as ide,A.nom as nom, A.sistema as tipus, A.t1 as t1, A.t2 as t2, A.urlpost as urlpost, E.nomp, E.valorp as tipusinstant, D.valorp as dia, I.valorp as mes, G.valorp as lloc FROM elements A INNER JOIN Propietats E ON E.IDE2=A.Idelement2 INNER JOIN Propietats D ON D.IDE2=A.Idelement2 INNER JOIN Propietats I ON I.IDE2=A.Idelement2 INNER JOIN Propietats G ON G.IDE2=A.Idelement2 WHERE AND A.sistema='InstantVida' AND E.nomp='tipusinstant' AND D.nomp='diainstant' AND I.nomp='mesinstant' AND G.nomp='llocinstant' ORDER BY t1