Re: [PHP-DB] Re:data grabbing and mathematics!

2005-03-08 Thread Neil Smith [MVP, Digital media]
owed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DB] Re:data grabbing and mathematics! 1) use a single table, with 23 columns instead of 2. Then sum the columns in your query. Actually I disagree strongly unless your intention is to be able to read the rows yourself ! As the stated intention

Re: [PHP-DB] Re:data grabbing and mathematics!

2005-03-07 Thread Martin Norland
Neil Smith [MVP, Digital media] wrote: At 17:15 07/03/2005 +, you wrote: well - two options spring to mind... 1) use a single table, with 23 columns instead of 2. Then sum the columns in your query. - 1 query, no loops required. 2) have your script pull everything and add it all up. - 22 qu