Error Number:
ERROR: column loc.nome does not exist
select intern.*, categorie.img as stelle, loc.nome as localita, prov.abb as provincia from intern, intcat, categorie, loc, prov where intern.onoff=1 and intern.lastm='t' and intcat.intern=intern.id and categorie.id=intcat.cat1 and loc.id=intern.loc and prov.id=loc.prov order by random()