Jump to content

Recommended Posts

Hi

 

I know PHP very well now and i am wanting to learn Ajax to provide a future for my new PHP Games

If someone could provide me with some websites with tut for noobies then that would be great also.

 

Say i have the current date 2009-12-11 23:33:37

and i have a date that is set in the future 2009-11-16 02:20:37

 

how would i make ajax count down to that date and then refreash the page?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/184928-noobie-needing-help-please/
Share on other sites

In my opinion, jQuery is the best tool to use when using AJAX, check it out http://docs.jquery.com/Ajax

 

as far as the date goes, 2009-11-16 02:20:37 is not in the future.

 

Nevertheless, you would get the unix timestamp of both dates, subtract them, and thats the amount of seconds between them.

 

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.