A Database Error Occurred

Error Number: 1054

Unknown column 'home' in 'where clause'

select * from p_punti_tematiche, p_punto where p_punti_tematiche.ID_TEM = home and p_punti_tematiche.ID_PUNTO = p_punto.ID and p_punto.stato='1' and p_punto.comune like '%Trieste%' order by localita asc

Filename: /var/www/vhosts/percorsiprovinciats.it/httpdocs/controllers/home.php

Line Number: 506