Page 1 of 1
Buying from a store...
Posted: Fri Apr 18, 2003 10:56 pm
by Random
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.
Posted: Sat Apr 19, 2003 5:27 am
by twigletmac
How far have you got coding this?
Mac
Posted: Sat Apr 19, 2003 10:13 am
by Random
I havent gotten anywhere...

i have no idea where to start.
Posted: Sat Apr 19, 2003 11:15 am
by McGruff
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?