thanx for helping... i ve found a code in the database section and now its working, i was trying to make 2 querys one for each table.. now i have this:
$query_not = sprintf("SELECT noticia.*, autor.nome, autor.email FROM noticia, autor WHERE noticia.autor=autor.codigo ORDER BY noticia.data DESC LIMIT $max_itens");
i just have 2 tables noticia = news π
and the row autor is relating the noticia and autor tables π
btw, thanx for replying π