SQL Query can't execute...
select a.titolo, a.body, date_format(a.data, '%d-%m-%Y') as data, a.foto1, u.nome, a.comm_foto1, a.id_tipo, a.id_cat from am_articoli a, am_users u where a.id = and a.id_user = u.id_user and a.status='O'