RE: Re: [PHP] Addin a column of numbers not using MySQL
| From: | Ben C . | Date: | Mon, 04 Aug 2003 20:33:45 +0000 |
| Subject: | RE: Re: [PHP] Addin a column of numbers not using MySQL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-158185@lists.php.net to get a copy of this message | ||
When I echo the select state the id is the first of many ids that need to be added together. It is
still not summing the total value of the records.
>
> From: "Jay Blanchard" <jay.blanchard@niicommunications.com>
> Date: 2003/08/04 Mon PM 04:09:36 EDT
> To: "Ben C." <benc@cox.net>, <php-general@lists.php.net>
> Subject: RE: Re: [PHP] Addin a column of numbers not using MySQL
>
> [snip]
> It still returns '0'. I think we are missing something. Any other
> ideas? Anyone else have any ideas?
> [/snip]
>
> echo the SELECT statement to make sure that $id is worth something....
>