Trying to do a dropdown list with this query and trying to return an array with the while to do that and the while don't work :s
static public function getConta() {
$criteria = new Criteria();
$criteria->addSelectColumn(MEMataPeer::CONTA);
$criteria->addGroupByColumn(MEMataPeer::CONTA);
$contas = array();
$stmt = MEMatalPeer::doSelectStmt($criteria);
echo "##".$stmt->rowCount();
while($res = $stmt->fetchColumn(0)) { // <- this while don't work don't know why ?????
$contas[$res] = $res;
echo "<br/>[$res]";`