gbt91
06-04-2007, 06:56 PM
I was Testing this User System and i was trying to add the online users but without success, i made the total user script and it works great but for the online nothing..could someone plz help me??
<?php
ob_start();
include("config.php");
$table = 'usersystem';//Sets the table name
$totalusers = mysql_num_rows(mysql_query("SELECT id FROM $table"));
echo "<br /><font size='1' face='Verdana'><b>Utenti Totali:</b> $totalusers</font><br />";// Echoes the total users
?>
this is for the total user online
if u need else to help me,just ask...
thanks in advance for helping me out
It's Based od Techtuts System
<?php
ob_start();
include("config.php");
$table = 'usersystem';//Sets the table name
$totalusers = mysql_num_rows(mysql_query("SELECT id FROM $table"));
echo "<br /><font size='1' face='Verdana'><b>Utenti Totali:</b> $totalusers</font><br />";// Echoes the total users
?>
this is for the total user online
if u need else to help me,just ask...
thanks in advance for helping me out
It's Based od Techtuts System