Multiplying powers
Posted: Tue Dec 02, 2003 2:03 pm
I need to create a script that will calculate 1*10(To the power of 10) but have no idea how to feed the calculation into PHP without doing
$answer1 = '10';
$answer2 = $answer1 * 10;
$answer3 = $answer2 * 10;
etc etc. Any ideas?
cheers guys
$answer1 = '10';
$answer2 = $answer1 * 10;
$answer3 = $answer2 * 10;
etc etc. Any ideas?
cheers guys