I'm sure this is a stupid question - but is there an easy way to calculate 'power of' sums in PHP.
eg '2 to the power of 3' equals 222 =8 ?
thanks
echo pow(2, 3); // Displays: 8
See: http://us2.php.net/manual/en/function.pow.php
🙂