473,408 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

How to get a submited query to go onto another page?

Hello my name is chris i am a new programer learning html.I am trying to make a bakery website that i need to allow people to order off of and the information be sent to the store. its for a class project.
I need help i have the questions made but i dont know how to input the query to a final page ..ie checkout.

Expand|Select|Wrap|Line Numbers
  1. <form action="insert.php" method="post">
  2. <center>pan size( all are 2" high): <select name="qantity"> 
  3. <option value="1">6</option>
  4. <option value="1">9</option>            
  5. <option value="1">10</option> 
  6. <option value="1">12</option> 
  7. <option value="1">15</option> 
  8. </select> 
  9. <br> 
  10. <input type="submit"> 
  11. </form>
  12. <form action="insert.php" method="post">
  13. <center>layers: <select name="qantity"> 
  14. <option value="1">1</option>
  15. <option value="1">2</option>            
  16. <option value="1">3</option> 
  17. <option value="1">4</option> 
  18. <option value="1">5</option> 
  19. </select> 
  20. <br> 
  21. <input type="submit"> 
  22. </form> 
  23. <form action="insert.php" method="post">
  24. <center>Icing flavor: <select name="qantity"> 
  25. <option value="1">butter cream vanilla</option>
  26. <option value="1">butter cream Chocolate</option>            
  27. </select> 
  28. <br> 
  29. <input type="submit"> 
  30. </form>   
  31.  
Expand|Select|Wrap|Line Numbers
  1. <form action="insert.php" method="post">
  2. <center>Qty in dozen: <select name="qantity"> 
  3. <option value="1">1</option> 
  4. <option value="1">2</option>
  5. <option value="1">3</option>
  6. <option value="1">4</option>
  7. <option value="1">5</option>
  8. <option value="1">6</option>
  9. <option value="1">7</option>            
  10. <option value="1">8</option> 
  11. <option value="1">9</option> 
  12. <option value="1">10</option> 
  13. </select> 
  14. <br> 
  15. <input type="submit"> 
  16. </form> 
  17.  
Expand|Select|Wrap|Line Numbers
  1. <form action="insert.php" method="post">
  2. <center>pan size( all are 1.5" high): <select name="qantity"> 
  3. <option value="1">6</option>
  4. <option value="1">9</option>            
  5. <option value="1">10</option> 
  6. <option value="1">12</option> 
  7. </select> 
  8. <br> 
  9. <input type="submit"> 
  10. </form>
  11. <form action="insert.php" method="post">
  12. <center>top layer whole or grid: <select name="qantity"> 
  13. <option value="1">whole</option>
  14. <option value="1">grid</option>            
  15. </select> 
  16. <br> 
  17. <input type="submit"> 
  18. </form> 
  19. <form action="insert.php" method="post">
  20. <center>Qty of pies: <select name="qantity"> 
  21. <option value="1">1</option> 
  22. <option value="1">2</option>
  23. <option value="1">3</option>
  24. <option value="1">4</option>
  25. <option value="1">5</option>
  26. <option value="1">6</option>
  27. <option value="1">7</option>            
  28. <option value="1">8</option> 
  29. <option value="1">9</option> 
  30. <option value="1">10</option> 
  31. </select> 
  32. <br> 
  33. <input type="submit"> 
  34. </form> 
  35.  
Jan 12 '11 #1
2 1512
Dormilich
8,658 Expert Mod 8TB
first, your dropdowns/selects are pointless if you give every option the same value (currently, no matter what you select, the passed value will be 1).

what do you mean by "go to another page"? the page you load will be the one specified in the form’s action attribute. what its contents are is decided on the server.
Jan 15 '11 #2
By go to another page I mean like a checkout page so the customer would find there selection then hit submit to ad to a cart page so they can checkout or continue to shop
Jan 24 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: G-MAN | last post by:
Hello, I need to trigger a mySQL select query when the page loads. Is there a way I can do this with PHP, javascript, or some other language? Thanks, KrisG.
4
by: Mark Anderson | last post by:
Sorry if this is a rookie mistake... I've been through all the FAQs and the books I have but I can't see the mistake so I guess it's something simple <g> - I'm an occasional JS user. I've got...
1
by: Ran Davidovitz | last post by:
Hi. We need to create a view of our active directory users (we have 2500). I found out that there is max page size of 1000, so we cannot get more data. Anyone found a solution to that...
5
by: Lorenzo | last post by:
I've a web site with a classic asp login page (https), another where in a textbox i write a sql query and a third that shows the resulset of the query.... Now i want to create an asp.net...
0
by: Stephen D Cook | last post by:
I have a form linked to a table. In the form I have a textbox, a command button, and a query subform. I dragged the query onto the form to create the query subform. The query has a field named...
2
by: SuperMario | last post by:
Hello, We have a web site using CLASSIC ASP, and a client with what would appear to be a non conforming XML document. Their remote XML document in its entirety looks like so: <?xml...
1
by: harky | last post by:
HI Can anyone tell me how a get a query made in access and view it in an asp page. Thanks so much
0
by: Rob | last post by:
Hey folks, my mind is turning into mush... I created a report tracking program in access that works beyond my greatest expectations. So of course, I am constantly adding features to make life...
0
by: Andrew Meador - ASCPA, MCSE, MCP+I, Network+, A+ | last post by:
I am running Access 2007. I have a report that I want to filter. I can go into Advanced...Advanced Filter/Sort... and setup a filter that works fine on the report when I apply it. When in this...
0
by: Andrew Meador - ASCPA, MCSE, MCP+I, Network+, A+ | last post by:
I am running Access 2007. I have a report that I want to filter. I can go into Advanced...Advanced Filter/Sort... and setup a filter that works fine on the report when I apply it. When in this...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.