- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.6
- Parse error: syntax error, unexpected 'echo' (T_ECHO) in /in/4cGY6 on line 19
Process exited with code 255.
<span style="color:green"><font size="27"><div align="center"> YAZI </div></font></span>
<form action="cal.php" method="post">
Sayi 1 :<input type="text" name="sy">
sayi 2:<input type="text" name="sy1">
<input type="submit" name="hesapla" value="topla">
<input type="submit" name="hesapla1" value="çıkar">
<input type="submit" name="hesapla2" value="çarp">
<input type="submit" name="hesapla3" value="böl">
<?php
$hesapla = $sy1 + $sy;
echo "TOPLAM :" .$hesapla;
$hesapla = $sy1 - $sy;
echo "TOPLAM :" .$hesapla1;
$hesapla = $sy1 * $sy;
echo "TOPLAM :" .$hesapla2;
$hesapla = $sy1 //$sy;
echo "TOPLAM :" .$hesapla3;
{
echo $hesapla
}
?>