PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old August 3rd, 2004, 04:02 PM
buzzby247 buzzby247 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 3 buzzby247 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
php/mysql for storing items, prices and totals

i have a form database which holds people contact details and credit card information. my client now wants the database to contain the items they have ordered together with the item number and the price of the item. also the database needs to calculate how much the total order is and to list the total order that the person wants. its for a jewellery store so the extra info to be included in each row is:

item(s)
item number(s)
price of item(s)
total price.

the site is heavily ladened with javascript. i want to move away from this for obvious reasons. i know how to transport data from one form to another but what i want to do is to have a the user tick what he/she wants and have a runing total of that. at the conclusion i want a submit button at the base of that running total to transport the data over to the main form which will contain all the items and prices they have ticked with a total. this info that is in the form will then be transported to the database. so the calculations should just be php based but the total or items and the total of cost should be stored in the database

Reply With Quote
  #2  
Old August 4th, 2004, 06:59 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
You should probably just download an ecomm package that already handles all of this while also addressing security concerns. (It's a horrible idea to store credit card numbers, for example.)
__________________
Please don't PM me asking for solutions outside the scope of a thread.
Keeping all responses in a thread stands to help others who come along later,
which is after all what this forum's all about.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > php/mysql for storing items, prices and totals


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 1 hosted by Hostway