Hello.
So i just simple added this PHP code into a PHP block:
[code]
<?php
// starting level
$startingLevel = 1340 ;
// increment amount (every minute)
$increment = 0.5 ;
$currentAmount = number_format ($startingLevel + (time() - 1337516434 )/60 * $increment, 2) ;
echo "Total paid ". $currentAmount . " dollars paid out";
?>
[/code]
After i have added the code into PHP block, it gives this error:
Parse error: syntax error, unexpected '<' in/home/e180/public_html/inc/classes/BxDolPageView.php(607) : eval()'d code on line 1
Way to fix it?