> Does anybody have some examples about howto make mathematic
> functions in PHP with values from any
> MySQL table such as:
>
> Value 1 + Value 2 = Value 3
> Value 1 - Value 2 = Value 3
> Value 1 * Value 2 = Value 3
> Value 1 / Value 2 = Value 3

maybe
UPDATE tablename SET field3=field1+field2
...

but it's somewhat hard to undertsand yor question

        Arpi

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to