Jump to content

PHP/MySQL Time Questions.


lill87

Recommended Posts

Hello, im making an web-based game and im trying to make a code that makes a user to log out automatically if the user is inactive for 30 minutes, but im totally stuck on doing it.

 

And im also trying to make a countdown script.

Example: The user is buying an item, the delivery of the item takes 2 minutes. 2 minutes later the user have the item.

How do i make that in the MySQL table, and continue ticking even if the user is not logged in?

 

 

Can someone post an example to my questions, or give a link to websites with similar tutorials or examples.

Thanks // lill87

 

Link to comment
Share on other sites

Guest
This topic is now 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.