Dont you think i didnt try!
Its just that i need an approach that fits my site, and not all are good then..
Btw.. i deleted this thread earlyier, you undid that?
Printable View
Dont you think i didnt try!
Its just that i need an approach that fits my site, and not all are good then..
Btw.. i deleted this thread earlyier, you undid that?
Ffs stop deleting your threads, it's annoying as fuck.
why,, else i get flamed for posting 2 threads.. this is an endless loop and the command break; is forbidden
You shouldn't delete topics so you can restart the topic, instead you should continue with your previous topic...what's wrong with this one?
This one is about js, the new one most likely not.
You should make a timer in PHP, for addition effect you can make a instant-timer in JS, which will countdown infront of the user instead at the server (PHP). Just a little extra, but as stated before, JS cannot be trusted and a countdown system cannot trust on JS output. The backend is always PHP for security.
Ok.
p.s: [bit offtopic]:
Is my date(); / time(); / microtime(); bugged? It seems everytime i do a mathematical action with it, e.x date("YmdHis") - 60, it gives me a really odd output: '2.00805191601E+13'.
http://nl2.php.net/date returns a string rather then an integer, so handle it as a string and not as a integer.
Time() and microtime() DO return an integer, so I wonder what problems you have with them.
The problem was with date(); in first place, thanks.