$c = new Criteria(); $categorias = CategoriaPeer::doSelect($c); #foreach $categorias as $categoria{ foreach ($categorias as $categoria){ echo $categoria->getNome(); } What is wrong here? Nome is the name of a colunm of categoria table.