WmZilla - Webmaster and Marketplace

The Next Generation Webmaster and Trade Forum

I need a query MYSQL QUERY

ttvyaboydes

New member

0

0%

Status

Offline

Posts

43

Likes

0

Rep

0

Bits

225

3

Months of Service

0%
Hello friends, I'm getting straight to the point; I have a database that stores user logins, and in this database, the user's time() value in PHP is also stored. My question is; Is it possible to create a query without writing any code in PHP to check if the time value in the database is greater or smaller than the user's time value minus 10? Note: The -10 here is for 10 minutes, let's say I want to find out if the user is online or not...
 

249

6,622

6,642

Top