Topic
1 reply Latest Post - ‏2014-09-20T11:02:57Z by jitupkp
SystemAdmin
SystemAdmin
1140 Posts
ACCEPTED ANSWER

Pinned topic PHP/Ajax realtime updating

‏2012-04-08T13:13:09Z |
I'm by no means an expert when it comes to Ajax so I'm looking for support here. I'd like to display how many people are logged into our site using PHP, but have it update in real time. The query is simply SELECT isLoggedIn WHERE isLoggedin != 0 then returning the $query->num_rows;...

Also, how much stress would this put on my server? Maybe it could just update every XX seconds or so.

Any ideas?