Commenti

Errore nella query:
SELECT totem_cont_commenti.*, DATE_FORMAT(totem_cont_commenti.datains ,'%d/%m/%Y') as 'dataf', DATE_FORMAT(datains ,'%e') as giornoins, DATE_FORMAT(datains ,'%m') as meseins, DATE_FORMAT(datains ,'%Y') as annoins, totem_users.username FROM totem_cont_commenti JOIN totem_users ON totem_cont_commenti.id_user = totem_users.id where totem_cont_commenti.IDcod = Registrazione_utente_it  and approvato = 1 order by totem_cont_commenti.datains desc
	

Unknown column 'Registrazione_utente_it' in 'where clause'