Number to increase automatically
Posted: Fri Jan 09, 2009 5:44 pm
I'm relatively new to PHP and MySQL, and I want to write a code which updates a certain value by adding one each hour or day or something. Could anyone help me?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Wouldn't that mean a user could increase this value by simply adjusting the clock on his computer?it2051229 wrote:yes it is possible, you can base that incrementing of value from the computer's system time.
you never mentioned THAT it interacts with user. now i'm confusedI'm relatively new to PHP and MySQL, and I want to write a code which updates a certain value by adding one each hour or day or something
sorry, I'll explain it further.it2051229 wrote:you never mentioned THAT it interacts with user. now i'm confused