/    Sign up×
Community /Pin to ProfileBookmark

how do i create a timer that goes down by one every second and accually also changes the time and even works if i close the site without using mysql?

[i]-Insane[/i]

to post a comment
PHP

7 Comments(s)

Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYOct 20.2005 — with a specific starting date?
Copy linkTweet thisAlerts:
@insaneauthorOct 21.2005 — it starts when i press a button or click on a link. and ends a specific time after the starting date

[i]-Insane[/i]
Copy linkTweet thisAlerts:
@theuedimasterOct 21.2005 — I'd store the time when you press the button or whatever in a database. Then whenever you a certain page, or every page on the site, it'll check that time. Once that time has a certain difference with the current time, inact the change you want.
Copy linkTweet thisAlerts:
@theuedimasterOct 21.2005 — ..... sr...
Copy linkTweet thisAlerts:
@insaneauthorOct 22.2005 — well umm how do i get the current time?
Copy linkTweet thisAlerts:
@chazzyOct 22.2005 — [code=php]time();[/code]
×

Success!

Help @insane spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...