Using Excel formula in PHP. Use ^ symbol [closed]

This will get the answer you are looking for:

echo 1 - pow( (1+(0.004936230552)), (-48) );

That will output 0.21050058867618.

It’s an order of operations issue; the spreadsheet version of the formula is subtracting from 1 last, while the PHP in the question is subtracting from 1 earlier.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)