Iskanje po oglasih: Materiali in oprema - Ogrevanje in klimatizacija - Peči

1054 - Unknown column 'm.vpis' in 'where clause'

SELECT *,m.id AS mid, UNIX_TIMESTAMP(datum_vnosa) AS datum, STRCMP('', m.slika1) AS picexists FROM mali_oglasi m, oglasi_regije r, countries d, mali_tipi_oglasov t WHERE m.status=1 AND m.vpis!=2 AND NOW() < m.datum_poteka AND r.id=m.regija_id AND r.country_id=d.countries_id AND m.tip_id=t.id AND m.tip_id IN (342)

[TEP STOP]