Show HTML form input.

If you want to show output of HTML from input, you can use simple way, just try  this code
<form oninput=”result.value=parseInt(a.value)+parseInt(b.value)”>
<input type=”range” name=”b” value=”50″ /> +
<input type=”number” name=”a” value=”10″ /> =
<output name=”result”></output>

</form>

HTML form code:


<form action="insert.php" method="POST">// change the insert.php file with your file.
First Name:<input type="text" name="fn" />
Last Name: <input type="text" name="ln" />
<input type="submit" /></form>