if ($members = 1) { echo 'There is ' . $memeber . ' member online.'; } //No one will see this since, they would see themselves but, here it is... elseif ($memeber = 0) { echo 'There is no one online.'; } else { echo 'There are ' . $members . ' online.'; }
This is common sense but, no one really uses it so, i thought i would post it here...
and if you have bandwidth issues you could do something like:
<?PHP if ($connected >= 25) { echo 'Max amount of users connected.'; } else { ?> your site <?PHP } ?>
and these would require a user online script...