Re: Mathematics Examples MySQL and PHP

From: Date: Mon, 29 Oct 2001 15:28:16 +0000
Subject: Re: Mathematics Examples MySQL and PHP
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-13812@lists.php.net to get a copy of this message
> 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

« previous php.db (#13812) next »