Question

In: Computer Science

Turn Think of your favorite place to shop. Write a program that will create a form...

Turn Think of your favorite place to shop. Write a program that will create a form for your favorite store using the PHP Application The form should include fields for contact information and at least three(3) items to order from. It should calculate the order and display a subtotal before tax and a total after tax. This is your final project, so add background color, pictures, and anything else that you thin

Solutions

Expert Solution

HTML and PHP Code :

<!DOCTYPE html>
<html>
<head>
   <title>items</title>
   <style type="text/css">
       div.box{
           width: 960px;
           height: 610px;
           margin:50px auto;
           left: 20%;
           position: absolute;
       }
       div.border{
           width: 408px;
           margin-top: 35px;
           float:left;
           border-radius: 5px;
           border:2px solid #999900;
           padding:0px 50px 20px;
       }
   </style>
</head>
<body style="background: skyblue">
<div class="box">
   <div class="border">
       <h1 style="">The Golkonda Resorts & Spa </h1>
       <form action="#" method="post">
           <label>Name : <input type="text" name="name"></form><br/><br/>
           Items :<br/><br/>
           &nbsp;&nbsp;&nbsp;<input type="checkbox" name="values[]" value="Pizza"><label> Pizza - 2$</label><br/>
           &nbsp;&nbsp;&nbsp;<input type="checkbox" name="values[]" value="birayani"><label>Birayani - 3$</label><br/>
           &nbsp;&nbsp;&nbsp;<input type="checkbox" name="values[]" value="chapathi"><label>chapathi - 1$</label><br/><br/>
           <label> Tax : 0.25$</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           &nbsp;&nbsp;<input type="submit" name="submit" value="Order"/></label>
       </form>
   </div>
</div>
<img src="1.jpg" width="500" height="300" style="position: absolute;left: 60%;top:15%;" />
</body>
</html>

Name : .$ POST[" src= "https://media.cheggcdn.com/media/57a/57a6cd08-98bc-4447-9cf2-5ee7c9b21dcb/phpf5qTOF.png" style="height:598px;width:696px;" />

Output :


Related Solutions

WRITE CODE IN JAVA it is now your turn to create a program of your choosing....
WRITE CODE IN JAVA it is now your turn to create a program of your choosing. If you are not sure where to begin, think of a task that you repeat often in your major that would benefit from a program. For example, chemistry unit conversions, finding the area for geometric shapes, etc. You can also create an interactive story that changes based on the user input/decisions. The possibilities are endless. The program must include instructions for the user. Be...
Write a program to run on your Arduino and PortMaster board that will sequentially turn on...
Write a program to run on your Arduino and PortMaster board that will sequentially turn on and off the LED segments, so it resembles Cylon eyes (https://youtu.be/UajcgzK2shQ). Use the millis() construct shown in lecture rather than delay(). The traverse from one side to the other should take about 1 second.
Write the code to create an array named movies and store three of your favorite movies...
Write the code to create an array named movies and store three of your favorite movies in the array. Only provide the array and code needed to put the movie names in the array. Do not include additional code
For java. It's your turn to write a test suite! Let's start out simple. Create a...
For java. It's your turn to write a test suite! Let's start out simple. Create a public class TestArraySum that provides a single void class method named test. test accepts a single parameter: an instance of ArraySum. Each ArraySum provides a method sum that accepts an int[] and returns the sum of the values as an int, or 0 if the array is null. However, some ArraySum implementations are broken! Your job is to identify all of them correctly. To...
Create an application that allows the user to place an order at a coffee shop named...
Create an application that allows the user to place an order at a coffee shop named Zips Coffee. Create a coffee order form that looks like a table with columns for coffee type, price and quantity. Provide values for at least three rows of data. Provide a row for the total cost of your order. Create Javascript code to calculate the total of your order and present the total to the user. Provide a button to initiate the Javascript described...
Write a program that allows the robot to do a 90-degree turn (the direction of the...
Write a program that allows the robot to do a 90-degree turn (the direction of the turn can be your choosing). There are two way of accomplishing this, the first is to move only one wheel, while the other is to move both wheels simultaneously in opposite directions. Micro:bit Block Coding
write a C++ program to CREATE A CLASS EMPLOYEE WITH YOUR CHOICE OF ATTRIBUTES AND FUNCTIONS...
write a C++ program to CREATE A CLASS EMPLOYEE WITH YOUR CHOICE OF ATTRIBUTES AND FUNCTIONS COVERING THE FOLLOWING POINTS: 1) COUNTING NUMBER OF OBJECTS CREATED ( NO OBJECT ARRAY TO BE USED) USING ROLE OF STATIC MEMBER 2) SHOWING THE VALID INVALID STATEMENTS IN CASE OF STATIC MEMBER WITH NON STATIC MEMBER FUNCTION, NON STATIC MEMBERS OF CLASS WITH STATIC MEMBER FUNCTION, BOTH STATIC. SHOW THE ERRORS WHERE STATEMENTS ARE INVALID. 3) CALL OF STATIC MEMBER FUNCTION, DECLARATION OF...
Write the following linear program in standard form. If your answer is zero, enter “0”. If...
Write the following linear program in standard form. If your answer is zero, enter “0”. If the constant is "1" it must be entered in the box. Max 12A + 6B s.t. A − 2B ≤ 420 6A + 8B ≤ 1,300 10A − 2B ≤ 250 A, B ≥ 0 A + B + S1 + S2 + S3 s.t. A − B + S1 A + B + S2 A − B + S3 A, B, S1, S2,...
Write a Java Program to place a pizza ordering program. It creates a pizza ordered to...
Write a Java Program to place a pizza ordering program. It creates a pizza ordered to the specifications that the user desires. It walks the user through ordering, giving the user choices, which the program then uses to decide how to make the pizza and how much the cost of the pizza will be. Note: Use dialog boxes for communicating with the user. Remember to use the JOptionPane class which is the graphical user interface (GUI) and Comments that are...
Write a Java Program to place a pizza ordering program. It creates a pizza ordered to...
Write a Java Program to place a pizza ordering program. It creates a pizza ordered to the specifications that the user desires. It walks the user through ordering, giving the user choices, which the program then uses to decide how to make the pizza and how much the cost of the pizza will be. Note: Use dialog boxes for communicating with the user. Remember to use the JOptionPane class which is the graphical user interface (GUI) and Comments that are...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT