PDA

View Full Version : Calculations


RoYaL HQ
11-13-2002, 08:26 PM
I just started PHP, and was wondering if it is possible to multiply a Variable in an Array with a Real, for example

$blah[blah1] * 10 = $blah2

and what would be the correct PHP code ?

Tia.

- RoYaL

N!ck
11-13-2002, 08:38 PM
$blah2=$blah[blah1]*10;

RoYaL HQ
11-13-2002, 08:40 PM
You make it sound so simple ;)

Thanx, Appriciated