The Wiki World Portal: Difference between revisions
From MediaWiki
Jump to navigationJump to search
(→New) |
No edit summary |
||
| Line 111: | Line 111: | ||
</HTML> | </HTML> | ||
===New=== | ===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> | |||
<html> | |||
<head> | <head> | ||
< | <title>Simple Math With User Input</tite> | ||
</ | |||
</head> | </head> | ||
<body> | <body> | ||
<?php | |||
$num1 = $_POST['num1']; | |||
$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> | </body> | ||
</html> | </html> | ||
Revision as of 16:43, 2 December 2012
<!.. <websiteFrame> website=http://www.wikireedia.net/blog height=400 width=100% border=3 scroll=auto </websiteFrame> ..>
Featured Article TEST
In this test I want to add
- (A) A featured article
- (B) Only show the summary of the featured article
- (C) Show a slide show of featured articles
{{#slideshow:
|id=bar refresh=10000 transition=fade sequence=forward }}
HTML TEST
..
Acme
The Acme Widget Company
Get Your Widgets Here!
Please make your selections from the following choices:
If you have questions or difficulties with this order page, please contact our Customer Service Department (see our Contacts page.)