Source of the article; PHP Century Network 3 online user information scanning and updating in the web page using the built-in framework to call scanning and updating programs, this line can also be seen in the web page source code! 4. information scanning and updating program userflush. phpSyntaxHighlighter. all ();
Source of the article; PHP Century Network 3 online user information scanning and updating in the web page using the built-in framework to call scanning and updating programs, this line can also be seen in the web page source code! 4. information scanning and updating program userflush. php 0) {// The pop-up window for reading and displaying $ msg = mysql_fetch_array ($ result); $ numberfriend = $ msg [id]; echo "";} // set the latest time mark of the current user, indicating that it is online mysql_query ("update userinfo set currentdate = ". date ("U "). "where name = $ name"); // Set the refresh interval to 15 seconds echo" ";?>