$result = mysql_query("SELECT * FROM user where user='$userregister'",$db); $name=mysql_result($result,0,"name");//姓名 echo $name; ?> 的悄悄话
🎜>$result = mysql_query("SELECT * FROM privatenote where touser='$userregister' ORDER BY time DESC",$db); $row=mysql_num_rows($result); //Total number of private messages $unlook =0; 'id');//Message id $fromuser=mysql_result($result,$i,'fromuser');//Name of the messager ); // Message time > $ Message = MySQL_Result ($ Result, $ i, 'message'); // Message content $ look_s = "I have seen"; // Note $ look = mysql_result($result,$i,'look'); //Have you seen through The number of private notes passed and change the comment mysql_query("UPDATE privatenote SET look='1' where id='$id'",$db); //Change the private note read status to 1 echo " Article ",$i+1," was sent by: ",$fromuser," Message time: ",$time," "; BR>------",$look_s; echo "Delete"; 🎜>
http://www.bkjia.com/PHPjc/316106.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/316106.htmlTechArticle密码查询:class/querypsw.php HTML HEAD meta http-equiv=Content-Type content=text/html; charset=gb2312 TITLE询问密码/TITLE /HEAD BODY BGCOLOR=#FFFFFF ?php include config.php...
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn