The Wiki World Portal: Difference between revisions

From MediaWiki
Jump to navigationJump to search
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
*[[Googlemaps]]
*[[Googlemaps]]
<!..
<websiteFrame>
website=http://www.wikireedia.net/blog
height=400
width=100%
border=3
scroll=auto
</websiteFrame>
..>




Line 46: Line 36:
</HTML>
</HTML>
..
..
===New===
<html>
<title>A simple math calculator</title>
<body>
Insert two numbers in the next form and hit submit button <br>
<form action="calculation.php" method="post">
Firstnumber: <input name="num1" type="text" /><br>
Secondnumber: <input name="num2" type="text" />
<input type="submit" />
</form>
</body>
</html>


==Spreadsheet==


 
<!..
<html>
<websiteFrame>
<head>
website=http://www.wikireedia.net/blog
<title>Simple Math With User Input</tite>
height=400
</head>
width=100%
<body>
border=3
<?php
scroll=auto
$num1 = $_POST['num1'];
</websiteFrame>
$num2 = $_POST['num2'];
..>
$a = $num1 + $num2;
$b = $num1 - $num2;
echo "The sum of the two numbers is ". $a
echo "The difference of the two numbers is ". $b
?>
</body>
</html>

Latest revision as of 12:16, 8 October 2013