Help with SQL statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How can I determine which users have signed in and are still on-line during 
the first minute after they have signed in? My sql statement currently 
reads:

SELECT * FROM tblusers WHERE usignedin = "yes" AND utimesignedin = (time() - 
60)

Hoe does one indicate seconds in a SQL statement? Can I use the time() 
function or should I use the now() function rather?

Thanks
Jacques 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux