syntax cleanup

This commit is contained in:
2017-10-22 20:39:20 -07:00
parent bb1051e490
commit 3729258931
109 changed files with 847 additions and 1641 deletions
+6 -6
View File
@@ -4,14 +4,14 @@ include("config.php");
$result = mysql_query("SELECT name,lastact FROM mrpg_users WHERE (" . date("U") . "-lastact)<=60");
while($row = mysql_fetch_array($result))
{
$online.=ucfirst($row['name']) . ", ";
while($row = mysql_fetch_array($result)) {
$online.=ucfirst($row['name']) . ", ";
}
if($online=="") {
echo "None!";
echo "None!";
} else {
echo $online;
echo $online;
}
?>
?>