SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need a PHP Clock based on mysql datetime

    Hello,
    I have been stuck in this issue for 3 days now, I have datetime records in a mysql table, I need a php clock which naturally counts down, I mean acts like a clock, but the clock time should be the datetime field value descending by the second, based on the full datetime, from year to seconds

    It is not just one record, I made it to display this clock, the problem is javascript, which makes all the 36 records the last record value, it is an ajax pagination, so i will need to do the same on second page, right now ajax is not a prioritty, I can let go of ajax pagination, but need to display the clock

    Help is appreciated

    I HAVE ATTACHED THE FILES

    Many Thanks
    Attached Files Attached Files

  2. #2
    SitePoint Member
    Join Date
    Aug 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you tell me how to convert php timestamp to javascript new date()


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •