Dear sir my html file has following coedes
<Html>
<head>
<title>Add two numbers on same form</title>
<body>
<center>
<h1><font color="blue"> Sum Two Numbers</font></h1>
<form name="thisform" method="Get" action="getsum2.php">
<table cellpadding=3 cellspacing=3>
<tr>
<td>Enter First Number</td><td><input type="Text" name="text1"></td>
</tr>
<tr>
<td>Enter Second Number</td><td><input type="Text" name="text2"></td>
</tr>
<tr>
<td style="color: #ff0000">Result</td><td><input type="Text" name="text2" disabled></td>
</tr>
<tr>
<td colspan=2 align="center"><input type="Submit" Value="Result"></td>
</tr>
</table>
</center>
</body>
</html>
And getsum2.PHP file has these codes
<?php
$num1=$_GET['text1'];
$num2=$_GET['text2'];
$result=$num1+$num2;
echo "Result= $result";
?>
These both file works fine. The result is show in getsum2 php.
But I want to get result in sum2.html's text3.
Please help