Re: My Project
| From: | Mikey | Date: | Tue, 19 Jul 2005 16:57:22 +0000 |
| Subject: | Re: My Project | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218979@lists.php.net to get a copy of this message | ||
George B wrote:
Paul Waring wrote:I wish you the best of luck with your project :^) MikeyOn Tue, Jul 19, 2005 at 09:39:21AM -0700, George B wrote:My money is being stored in a database. And I want everythign to be in PHP, no java script. And the BUY!! Button is a input button from a form. :) $money = $money - 10;And I have 100 points. How would I make it so when I click BUY!! My money automaticaly subtracts from 100 to 90. How do I do that?Where is your money being stored? In a database? A text file? A cookie? Do you want the "buy" link to work on the client side using Javascript or AJAX or have it submit to a PHP script? Paul