$result = mysql_query("SELECT * FROM user where user='$userregister'",$db); $name=mysql_result($result,0,"name");//姓名 echo $name; ?> 的悄悄话
privatenote where touser='$userregister' ORDER BY time DESC",$db); $row=mysql_num_rows($result); //Total number of private messages $unlook=0; for ($i=0;$i<$row;$i++){ fromuser'); //The name of the person who left the message $time=mysql_result($result,$i,'time'); Content $look_s="Already seen"; $look_s=" if ($look=="0"){$unlook++ ;$look_s="Not yet viewed";} //Calculate the number of unseen private notes and change the comment Change to 1 c echo "No.", $ i+1, "Bar Send the person:", $ Fromuser, "Message Time:", $ Time, "& LT; Br & GT;"; ," ------",$look_s; echo "Delete"; Echo "Total number of private messages:",$row,".",$unlook,"New private messages.";
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