$unreadinbox=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM inbox WHERE unread='1' AND toid='".getuid_sid($sid)."'"));
$unrd="".$unreadinbox[0]."";
if($unreadinbox[0]>0){
$inbox="Inboxes";
if($unreadinbox[0]==1)$inbox="Inbox";
$main.="<a href=\"./inbox/inbox.php?sid=$sid&rid=$rid$pw\">$unrd New $inbox!</a><br/>\n";
}
$unrd="".$unreadinbox[0]."";
if($unreadinbox[0]>0){
$inbox="Inboxes";
if($unreadinbox[0]==1)$inbox="Inbox";
$main.="<a href=\"./inbox/inbox.php?sid=$sid&rid=$rid$pw\">$unrd New $inbox!</a><br/>\n";
}
Comment