Buying from a store...
Moderator: General Moderators
Buying from a store...
How would I call my column for Dynobucks and have it subtracted after someone clicks on an item to buy? I also want an alert to come up saying "Are you sure you would like to buy <item> for <price>?" then it will have a Yes / No or a Okay / Cancel. After Okay was clicked it would subtract the Dynobucks from the Database, and redirect back to the shop. Thanks in advance.
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
If you haven't already, get a copy of the php manual from php.net (the one with user comments is best) and the mysql manual mysql.com if you plan to use mysql.
Try some form script tutorials to get started: adding and retrieving info from a database is pretty much the essence of all php web sites.
Is this just a scripting project or is it going to be a live internet shop?
Try some form script tutorials to get started: adding and retrieving info from a database is pretty much the essence of all php web sites.
Is this just a scripting project or is it going to be a live internet shop?