i developing facebookapp 2 users play against , time counts zero. whats best way this? tried send ajax request php script every second updates database current time in seconds user has left. have 0 values @ columns , user has no time left. query strings ok. better store timestamps?
if not store times , user refresh page gets time back.
why don't save exact timestamp when clock shows zero?
you can handle outputs these 1 number. don't have send requests time. @ first , when timestamp reached.
Comments
Post a Comment