|
|
(5 intermediate revisions by one 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> |
| .. | | .. |
− | ===Acme===
| |
| | | |
− | <HTML>
| + | ==Spreadsheet== |
| | | |
− | <head> | + | <!.. |
− | <meta http-equiv="Content-Language" content="en-us">
| + | <websiteFrame> |
− | <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
| + | website=http://www.wikireedia.net/blog |
− | <title>Acme Widgets - Get Your Widgets Here!</title>
| + | height=400 |
− | </head>
| + | width=100% |
− | | + | border=3 |
− | <body bgcolor="#FFFFCC">
| + | scroll=auto |
− | | + | </websiteFrame> |
− | <h2>The Acme Widget Company</h2>
| + | ..> |
− | <h3>Get Your Widgets Here!</h3>
| + | |
− | <p>Please make your selections from the following choices:</p>
| + | |
− | <p> </p>
| + | |
− | <p>If you have questions or difficulties with this order page, please contact
| + | |
− | our Customer Service Department (see our Contacts page.)</p>
| + | |
− | | + | |
− | </body> | + | |
− | | + | |
− | <form method="POST" action="submitted.html" name="ofrm">
| + | |
− | <p>Please tell us who you are (<font color="#FF0000">red</font> denotes required information):</p>
| + | |
− | | + | |
− | | + | |
− | <tr>
| + | |
− | <td width="250">Class "A" Widgets</td>
| + | |
− | <td align="center" width="100">
| + | |
− | <input type="text" name="qtyA" size="5" tabindex="5" onchange="calculate()"></td>
| + | |
− | <td align="right" width="60">1.25</td>
| + | |
− | <td align="right" width="140">
| + | |
− | <input type="text" name="totalA" size="12" tabindex="99" onchange="calculate()"></td>
| + | |
− | </tr>
| + | |
− | <tr>
| + | |
− | <td width="250">Class "B" Widgets</td>
| + | |
− | <td align="center" width="100">
| + | |
− | <input type="text" name="qtyB" size="5" tabindex="5" onchange="calculate()"></td>
| + | |
− | <td align="right" width="60">2.35</td>
| + | |
− | <td align="right" width="140">
| + | |
− | <input type="text" name="totalB" size="12" tabindex="99" onchange="calculate()"></td>
| + | |
− | </tr>
| + | |
− | <tr>
| + | |
− | <td width="250">Class "C" Widgets</td>
| + | |
− | <td align="center" width="100">
| + | |
− | <input type="text" name="qtyC" size="5" tabindex="5" onchange="calculate()"></td>
| + | |
− | <td align="right" width="60">3.45</td>
| + | |
− | <td align="right" width="140">
| + | |
− | <input type="text" name="totalC" size="12" tabindex="99" onchange="calculate()"></td>
| + | |
− | </tr>
| + | |
− | <tr>
| + | |
− | <td width="250"> </td>
| + | |
− | <td align="center" width="100"> </td>
| + | |
− | <td align="right" width="60"> </td>
| + | |
− | <td align="right" width="140"> </td>
| + | |
− | </tr>
| + | |
− | <tr>
| + | |
− | <td width="250">
| + | |
− | <p align="right"><b>TOTALS:</b></td>
| + | |
− | <td align="center" width="100"> </td>
| + | |
− | <td align="right" width="60"> </td>
| + | |
− | <td align="right" width="140">
| + | |
− | <input type="text" name="GrandTotal" size="15" tabindex="99" onchange="calculate()"></td>
| + | |
− | </tr>
| + | |
− | </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>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | <html>
| + | |
− | <head>
| + | |
− | <title>Simple Math With User Input</tite>
| + | |
− | </head>
| + | |
− | <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>
| + | |
− | </html>
| + | |
<!..
..>