Jump to content

Active in 15 Mins


Joshua F

Recommended Posts

I have a database with Users as a table. It has the normal stuff, id, username, password, and I have anther in it called lastactive. It is DATETIME, and I am wondering how I would make a sql query select the users in the database 'users' and see who has been active in the past 15 mins.

 

What I am asking is how I could do this, and would it be better to use a different structure other then DATETIME.

Link to comment
https://forums.phpfreaks.com/topic/214375-active-in-15-mins/
Share on other sites

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.