| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| delay / counting in php | |
|---|---|
| Tweet Topic Started: Mar 15 2005, 01:24 PM (198 Views) | |
| kingy | Mar 15 2005, 01:24 PM Post #1 |
|
1 in 10 people understands binary, the other 1 doesn't
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
ok what i want is a code that makes a value increment every 10 minutes that a user is on a page. how would this be done in php? |
![]() |
|
| Gornakle | Mar 15 2005, 02:31 PM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Sounds more like a job for JS to me. ![]() You could create a timestamp in PHP. Then, you could later on make another timestamp and compare it to the earlier one to see how much time is between them. |
![]() |
|
| kingy | Mar 15 2005, 04:33 PM Post #3 |
|
1 in 10 people understands binary, the other 1 doesn't
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
yeah that could work. thanks has to be php you see cos its going to work with mysql |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Technology Chat · Next Topic » |
| Track Topic · E-mail Topic |
2:37 PM Jul 11
|



![]](../../../../0/1/0/p601690/pipright.png)




2:37 PM Jul 11