Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/
Upload File :
Current File : /var/www/html/mmishra/zz.php

<html>
<head><title>PHP Demo</title></head>
<body>
<form method="GET" action="zz.php">
Enter first number <input type='text' name='i' size='5'><br>
Enter second number <input type='text' name='j' size='5'><br>
<input type='submit' name='submit' value='SUM'>
</form>

<?php

$i = $_GET["i"];
$j = $_GET["j"];

$k = $i + $j;

echo "Sum of $i and $j is $k";

?>
</body>
</html>