I'm trying to add all the values from the same column in MySQL with a
query like this:
SELECT SUM(colname) WHERE value = 'value'
But then I can't output it on the screen correctly. I've tried to put
all the results into an array and then make an array_sum($arrayname) and
it gives me exactly the double of what it should... any suggestions? By
the way, the column I'm trying to add is a DOUBLE 6,2.
Thanks in advance,
Cesar L. Aracena
Neuquén (8300) Capital
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php