Jump to content

Noobie Needing Help Please


Danny620

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.

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.