[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux-team] Somme d'un tableau en PHP3 (Exemple bien concret)
On Thu, Feb 17, 2000 at 01:08:08PM +0100, MailingList Linux Team wrote:
...
> Voici la partie du script qui calcule les totaux et affiche les résultats :
$big_total=0
> while($row = mysql_fetch_array($result))
> {
...
> }
> $grand_total[] = $total;
$big_total += $total;
Tout con, non ? ;)
--
-o) / Pascal Bleser ATOS Payment Systems|
/\\ \ C++/UNIX Development Aachen, Germany|
_\_v \<guru@linuxbe.org> <pbleser@atos-group.com>|
---------------------------------------------------|
Real programmers don't comment their code. :
It was hard to write, it should be hard to :
understand. :
---------------------------------------------------'
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/