0% found this document useful (0 votes)
9 views2 pages

HTML Document

The document contains an HTML order form for Bob's Auto Parts, allowing users to input quantities for tires, oil, and spark plugs. Upon submission, the form sends the data to 'processorder.php', which displays a confirmation message indicating that the order has been processed. The form includes basic styling and structure for user interaction.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

HTML Document

The document contains an HTML order form for Bob's Auto Parts, allowing users to input quantities for tires, oil, and spark plugs. Upon submission, the form sends the data to 'processorder.php', which displays a confirmation message indicating that the order has been processed. The form includes basic styling and structure for user interaction.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

.

html document:

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<meta name="viewport" content="width=device-width initial-scale=1.0">

<title> OrderForm</title>

</head>

<body>

<form action="processorder.php" method="post">

<table style="border: opx;">

<tr style="background-color: #cccccccc;">

<td style="width: 150px; text-align: center;">Item</td>

<td style="width: 15px; text-align: center;">Quantity</td>

</tr>

<tr>

<td>Tires</td>

<td><input type="text" name="tireqty" size="3" maxlength="3"></td>

</tr>

<tr>

<td>Oil</td>

<td><input type="text" name="oilqty" size="3" maxlength="3"></td>

</tr>

<tr>

<td>Spark plugs</td>

<td><input type="text" name="sparkqty" size="3" maxlength="3"></td>

</tr>
<tr>

<td colspan="2" style="text-align: center;"><input type="button" value="submit


order"></td>

</tr>

</table>

</form>

</body>

</html>

processorder.php file:

<!DOCTYPE html>

<html>

<head>

<title>Bob's Auto Parts - Order Results</title>

</head>

<body>

<h1>Bob's Auto Parts</h1>

<h2>Order Results</h2>

<?php

echo '<p>Order Processed</p>';

?>

</body>

</html>

You might also like