Why error Unexpected $EOF?

Hello! Tell me where is the error and how to fix it?
<?php if (isset ($_POST ['save'])) {
 $socv = 2.37;
$normv = 4.10;
$razn = $cur - $prev;
if ($razn <= 85) $socpay = $razn * $socv;
else $socpay = 85* $socv;
 if ($razn -->85) $normpay = ($razn-85) * $normv;
 $itog = $socpay+$normpay;
 echo "<br> Changes saved. Payment for the $edit is $itog RUB";
 $editq = mysqli_query ($connection, "UPDATE `electrosimple` SET `cur` = '$cur', `prev`= '$prev' , `itog`= '$itog'");
}
 ?>
July 2nd 19 at 14:07
1 answer
July 2nd 19 at 14:09
Solution
Good evening.
The condition is not closed curly brace on line 129
if (isset ($edit)) {

Find more questions by tags PHP