Topic: Users Online

Can someone write me up a script similar to the "Recent Discussions" thing Kennel has going on this site?  Expect, I want to to show users online.

The are _ members and _ guests browsing the forums.
There are _ users browsing this site.

I'm sure its really easy to do, but my efforts have come up dry.

Thanks in advance.

Through the awful grace of God

"Dude, CSS and XHTML are like two boys who are deeply in love.  They're perfect for each other, but no one can acccept it."

Re: Users Online

Take the code from the recent discussions thingy and replace the code after "require 'include/common.php';" with the code from index.php starting with "// Collect some statistics from the database".

"Programming is like sex: one mistake and you have to support it for the rest of your life."