Page 1 of 1

Who's Online Code

Posted: Sun Feb 12, 2006 4:00 pm
by DizzyThermal
Hey, got a question about a code.

When someone gets online, I would like it to display a text on the site showing how many people are online.

Like

Code: Select all

In total there are [b]10[/b] users online

Most users ever online was 21 on January 22, 2006.

Posted: Sun Feb 12, 2006 4:14 pm
by shiznatix
viewtopic.php?t=34665 is a really good tutorial on how to do this with ajax which is definatly the best way to do it

if you want to avoid using javascript then look at viewtopic.php?t=29342