- Joined
- Sep 17, 2011
- Messages
- 235
- Reaction score
- 30
I know this is no big release but this I'm very proud of because i cant do SQL I was just messing around with the code
This is very helpful if you want it to look different on a certain page not just [[0 user(s) online]]
Now you can have something like [[There is 0 online]]
HERE :
Also the amount of users registered (Not my work)
Don't Flame give your Opinion !
This is very helpful if you want it to look different on a certain page not just [[0 user(s) online]]
Now you can have something like [[There is 0 online]]
HERE :
Code:
<?php
$getOnline = dbquery("SELECT * FROM users WHERE online = '1'");
$Online = mysql_num_rows($getOnline)
?>
<?php echo $Online; ?> [[add your custom thing such as just ONLINE]]
Code:
$getUsers = mysql_query("SELECT * FROM users");
$users = mysql_num_rows($getUsers);
?>
<?php echo $users; ?> [[add your custom thing such as just REGISTERED]]
Don't Flame give your Opinion !
Last edited:

