try :

public function executeIndex(sfWebRequest $request)
 {
 $this->test = Doctrine_core::getTable('Cotisation')->-
>createQuery('a')->execute();
}

if it still doesn't work, maybe you should check if your template is
correctly displayed ?

On 28 mai, 15:25, safa boubekri <[email protected]> wrote:
>    getTotals:
>
> public function getTotals()
> {
>
>  return $this->createQuery('c')-> SELECT('SUM(c.Montant) FROM c')->execute();
>
> }

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to