That's really easy, and MySQL has a bunch of cool fuctions that are 
worth checking out.
They're all in the manual down towards the end of the TOC -- there's a 
bunch of Math and Arithemtic stuff that's really powerful.

SELECT SUM(value1,value2) AS sum FROM table WHERE blah;


>-----------------------SQL 
>code--------------------------------------------------------
>-- Host: localhost
>-- Generation Time: Mar 30, 2006 at 02:28 AM
>-- Server version: 5.0.18
>-- PHP Version: 5.1.1
>  
>



The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to