Its simply a small calculation, which uses the following code:
$calc="\$rate=".str_replace(array("L","E","F","I"), array($l, $e, $f, $I),$field1).";"; eval($calc);
When the code is run I get the following error:
Parse error: parse error, unexpected ';' in LOCATION\PAGE.php(60) : eval()'d code on line 1
Any idea what it is i'm doing wrong?
Also Im using $rate later on in the page - will there be a problem with this?