Re: Sum a column of values from a MySQL query

From: Date: Tue, 05 Aug 2003 07:53:36 +0000
Subject: Re: Sum a column of values from a MySQL query
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-158251@lists.php.net to get a copy of this message
On Tuesday 05 August 2003 15:43, Ben C. wrote: > Yes, I know. However, the while() loop should generate all the invoice in > a list. As has been pointed out the query only results in a single row. So how would the while-loop "generate all the invoice[s]"? It's only ever given a single row to play with. And has also been pointed out, could you state clearly: - what exactly you're trying to do - what your database schema is - what you tried that didn't work, and *how* it didn't work -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* I appoint you ambassador to Fantasy Island!!! */

« previous php.general (#158251) next »