I am writing a program where you input a number and it assigns a letter grade. I wrote the html portion and that part works. I and am writing the php portion, but am stuck. I could use some assistance. I appreciate any help.
<!DOCTYPE html>
<html>
<body>
<form>
<form action="ChimentoWcpst2200-3A.php" method = "get">
<fieldset>
ENTER SCORE: <input type="text" name="F_score" size="3"> <br>
<input type="submit" value="CALCULATE">
</fieldset>
</form>
</body>
</html>
php part
<?php
$Score = 0;
$Grade;
$Score=$_GET ['F_score'];
if ($ score > 89) {
$grade = 'A';
}
else if ($score > 79) {
$grade = 'B';
}
else if ($score > 69) {
$grade = 'C';
}
else if ($score > 59) {
$grade = 'D';
}
else
$grade = 'F';
echo
?>