![]() |
i am just using my fantasi but can i do like this ?
"don't flame me now as i am really tired have been up all night",
yeah well my question is can i do this ? PHP Code:
^^:-$ |
**fantasy**
|
Simply put: no. Time is always changing. They only way that could work is that you CONSTANTLY update the last_active column (almost every second or half a second) and even then it will be really inaccurate.
You can acheive this with Sessions I think. |
thats true i will try that.
|
Here's how to do it with sessions:
php Code:
|
or you could do like this xD
PHP Code:
output on all the user sites ;) PHP Code:
|
Well yes.. But that's not using sessions, which was the tip you got from masfenix
|
yeah well this worked for me also i learned something new of it :)
>= DATE_SUB(NOW(), INTERVAL 15 MINUTES)"; $result = mysql_query($query); |
| All times are GMT. The time now is 01:33 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0