I tried the code you provided below but it returned 0. Is there another way I can do it?
> > From: Jason Wong <[EMAIL PROTECTED]> > Date: 2003/08/04 Mon AM 04:25:13 EDT > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Addin a column of numbers not using MySQL > > 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 > */ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php