Re: My Project
| From: | André Medeiros | Date: | Tue, 19 Jul 2005 18:08:00 +0000 |
| Subject: | Re: My Project | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218982@lists.php.net to get a copy of this message | ||
On Tue, 2005-07-19 at 17:57 +0100, Mikey wrote:
> George B wrote:
>
> > Paul Waring wrote:
> >
> >> On Tue, Jul 19, 2005 at 09:39:21AM -0700, George B wrote:
> >>
> >>> 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
> >>
> > 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;
>
$money -= 10;
saves some chars ;)
> I wish you the best of luck with your project :^)
>
> Mikey
>