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 (lang_id = 1 or lang_id is NULL)' at line 2
SELECT t1.id as id, lang_id, id_kat, aliasy_id, id_producenta, id_jednostki, id_dostepnosc, kod_prod, kod_paskowy, waga, aktywny, alias, nazwa, model, tytul_meta, sl_klucz, opis_meta, opis_kr, opis, frazy_uzup, pakowanie, pozycja, przekierowanie
FROM sk_produkt_to_edit t1 where usuniety = 'N' and id = and (lang_id = 1 or lang_id is NULL)
-
Start
-
Oferta
-
Pompy ciepła
-