div form name calc action method post input type text name value php e

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
<div>
<form name="calc" action="" method="post">
<p>A:<input type="text" name="a" value="<?php echo $a; ?>"></p>
<p>B:<input type="text" name="b" value="<?php echo $b; ?>"></p>
<p>C:<input type="text" name="c" value="<?php echo $c; ?>"></p>
<p>
<input type="submit" name="submit" value="Твое название кнопки" />
<input type="button" value="Back" onclick="location.href=location.href;">
</p>
</form>
</div>