TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 17, 2024, 09:28:25 AM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 59
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 29
  • Total: 29

[Block] Most recent visitors to site

Started by whitesox, May 14, 2009, 10:45:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JPDeni

There's a number of ways to do it. If it was me, instead of


if ($row['ID_MEMBER'] == 1 )
echo '';

else


I would use


if ($row['ID_MEMBER'] <> 1 )


Cool that you worked it out for yourself, though.  :up:

starcad

Thanks JPDeni, I was looking for something like this.  Great Snippet