All pastes #592182 Raw Edit

Miscellany

public text v1 · immutable
#592182 ·published 2007-06-27 16:44 UTC
rendered paste body
$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.