Re: Addin a column of numbers not using MySQL
| From: | Jason Wong | Date: | Mon, 04 Aug 2003 08:25:13 +0000 |
| Subject: | Re: Addin a column of numbers not using MySQL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158129@lists.php.net to get a copy of this message | ||
On Monday 04 August 2003 15:59, Ben C. wrote:
> Yes. From there I want to add all the 'a' values together using PHP.
So do it then.
$total = $total + $myrow['a'] // or something as you go through the loop
// is just one of the ways to do this
--
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
------------------------------------------
/*
A beautiful woman is a picture which drives all beholders nobly mad.
-- Emerson
*/