3 include_once("conn.php");
5 /* get list of users that are currently looged in */
6 $sql = "select name from users where last_click > NOW()-300 order by name";
8 $result = mysql_query($sql);
10 while($row = mysql_fetch_array($result))
12 $users_online .= '<div>'.$row['name'].'</div>';