Jump to content

[SOLVED] how to...


kellz

Recommended Posts

Here's how.

 

Get the current timestamp [time()] for the user when they load the profile page.

 

Insert this current timestamp into the database (in the users table I hope)

 

Do a mysql_query() where the the current timestamp minus the timestamp in the database is less than a certain amount of time (this gets all users active in this certain amount of time).

 

Display the results, done.

Link to comment
https://forums.phpfreaks.com/topic/77229-solved-how-to/#findComment-391002
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.