Good morning, I have the following problem: I want to add the initial evaluation with the final evaluation and the result appears on the screen but it always appears zero, where am I failing?
<th><divclass="input-field col s12">
<input id="AvInicial" type="text" class="validate"
autocomplete="off" name="AvInicial">
<label for="avinicial"></label>
</div>
</th>
<th>
<div class="input-field col s12">
<input id="Meta" type="text" class="validate" autocomplete="off"
name="Meta">
<label for="meta"></label>
</div>
</th>
<th>
<div class="input-field col s12">
<input id="AvIntercalar" type="text" class="validate"
autocomplete="off" name="AvIntercalar">
<label for="avintercalar"></label>
</div>
</th>
<th>
<div class="input-field col s12">
<input id="AvFinal" type="text" class="validate" autocomplete="off"
name="AvFinal">
<label for="avfinal"></label>
</div>
</th>
<th>
<div class="input-field col s12">
<?
$a = $_GET['avinicial'];
$b = $_GET['avfinal'];
echo $a + $b;
?>
</div>
</th>