Posted on Saturday 2nd August 2008 at 08:22 PM
how can I do if a user is logged out what's new pm he has logged so if he is to be because you are 5 new news how can I do?
PUT HTML/MEMBER STUFF"; $getnew = mysql_query("SELECT * FROM `privates` WHERE `status` = 'Unread' AND `to` = '$logged[username]';"); $total = mysql_num_rows($getnew); $select = mysql_query("SELECT * FROM `privates` WHERE `status` = 'Unread' AND `to` = '$logged[username]' ORDER BY `to` ASC LIMIT 0 , 30"); $array = mysql_fetch_array($select); $amount = mysql_num_rows($select); if($amount >= 1) { echo "<ol><li><a style='color:red' href='https://sodadome.com/inbox.php'>($total) New Message</a></li>"; } else { echo "<li><a href='https://sodadome.com/inbox.php'>($total) New Messages</a></li>"; } echo "