SunQuest
           PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old August 26th, 2002, 07:02 AM
Carol Carol is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Sunshine Coast Australia
Posts: 23 Carol User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Please help with a form - utter newbie question

I have a table of products that i want customers to select from and then go to another page showing only those products that have been selected. then I want to email it as an order. I don't want shopping carts.

I think I need arrays and loops. If anyone could give me an example or two I'd be really grateful.

With thanks
Carol

Reply With Quote
  #2  
Old August 26th, 2002, 10:40 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: Please help with a form - utter newbie question

if you display your products with checkboxes, and give the form name as follows - (input type="checkbox" name="product[]")

then the php page submitted to will have an array holding the values checked. you can process the information however you want that way. if you need more help, please be a little bit more specific.

Reply With Quote
  #3  
Old August 27th, 2002, 03:55 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Please help with a form - utter newbie question

Thank you Notepad.

To be more specific (thanks your earlier post worked fine) I want to be able to display more information than just the checkbox on the second page. For example, product description and code and quantity ordered as opposed to a checkbox showing an order. I have seen some tutorials around, but they are not specific enough.

Any more help is very welcome.

Thanks

Carol

Reply With Quote
  #4  
Old August 27th, 2002, 06:02 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: Please help with a form - utter newbie question

are your products along with descriptions etc stored into a database of some sort? if so, then just pass the id and you can retrieve information for whatever order/product you want to.

Reply With Quote
  #5  
Old August 28th, 2002, 12:18 AM
Carol Carol is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Sunshine Coast Australia
Posts: 23 Carol User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Please help with a form - utter newbie question

At this stage just a list/table. Databases in the future - this is scary enough as it is.

Thanks
Carol

Reply With Quote
  #6  
Old August 28th, 2002, 04:02 AM
Emperor_Jazzy Emperor_Jazzy is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Melbourne, Vic, Aus
Posts: 7 Emperor_Jazzy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Please help with a form - utter newbie question

Carol,

You seem to be doing something I just completed myself, but with Databases. If you are interested, email me and we can share code. It's a simple, search for product and add to product selection, then check out which shows extended product information and full prices, then finalisation to email the order through to the desired site (location of offices).

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > Please help with a form - utter newbie question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway