Re: [symfony-users] sum()+backend

2010-05-25 Thread safa boubekri
i have symfony 1.3 but i have problem how can i use this method in the form i declar one widget but how can i use it thank you :) -- 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 sub

Re: [symfony-users] sum()+backend

2010-05-25 Thread Eno
On Tue, 25 May 2010, safa boubekri wrote: > the code is: > > public static function getTotals() > { > $con = Doctrine::getConnection('Doctrine'); > $sql = "SELECT SUM(Cotisation.Montant) FROM Cotisation "; > $stmt = $con->createStatement(); > // or FETCHMODE_ASSOC if you wish > $rs = $

Re: [symfony-users] sum()+backend

2010-05-25 Thread safa boubekri
HELLO i create module free which dont have table in the database i hope that it permet me to show the sum of an other table the code is: public static function getTotals() { $con = Doctrine::getConnection('Doctrine'); $sql = "SELECT SUM(Cotisation.Montant) FROM Cotisation "; $s

Re: [symfony-users] sum()+backend

2010-05-25 Thread Tom Haskins-Vaughan
Any more details? On Tue, May 25, 2010 at 1:34 PM, safa boubekri wrote: > hello every body > > how  can  i  create  method  to have sum() > > in the  backend > > > > thank you  a lot > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.

[symfony-users] sum()+backend

2010-05-25 Thread safa boubekri
hello every body how can i create method to have sum() in the backend thank you a lot -- 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