Re: My Project

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;

I wish you the best of luck with your project :^)

Mikey

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux