|
Posted by Andrι Medeiros on 07/19/05 21:08
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
>
Navigation:
[Reply to this message]
|