// Nameframe2.php (as the mainstream development language) on the second page & lt ;? Include .. /signup/MySQL (the best combination with PHP ). php (as the mainstream development language); header (Expires: Sun, 28Dec199709: 32: 45GMT); header (Cache-Control: no-cach // name = "frame2.php (as the mainstream development language )"
Include "../signup/MySQL (the best combination with PHP). php (as the mainstream development language )";
Header ("Expires: Sun, 28 Dec 1997 09:32:45 GMT ");
Header ("Cache-Control: no-cache, must-revalidate ");
Header ("Pragma: no-cache ");
Header ("Content-Type: text/html; charset =$ {Charset }");
$ Current_time = time ();
$ Delete_time = $ current_time-40;
$ SQL = "delete from chat_user where last_time <". $ delete_time;
MySQL (best combination with PHP) _ query ($ SQL) or die ("false again ");
$ SQL = "update chat_user set last_time = $ current_time where userid = $ userid ";
MySQL (the best combination with PHP) _ query ($ SQL) or die ("false ");
$ SQL = "select userid from chat_user ";
$ Result = MySQL (the best combination with PHP) _ query ($ SQL) or die ("fallse ");
$ Online = MySQL (the best combination with PHP) _ num_rows ($ result );
?>
User list
Online users
$ SQL = "select userid, id, sex from chat_user ";
$ Result = MySQL (the best combination with PHP) _ query ($ SQL) or die ("fallse ");
While ($ row = MySQL (the best combination with PHP) _ fetch_array ($ result )){
$ User = $ row [userid];
$ User = "(as the mainstream development language) _ SELF ."? Userid = ". $ userid." onCLick = parent. bottom. user (". $ row [" id "].")> ". $ row [" id "];
Echo $ user. "(". $ row ["sex"]. ")
";
}
?>
( Persons)