Iskanje po oglasih: Nadomestni deli in oprema za vozila - Pnevmatike in platišča - Platišča s pnev. za osebna vozila

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 (551,553,554,555,556,557,558,559,560,552,561,562,563,564,565,566,567,568)

[TEP STOP]