Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function newmessage(){
- include ("safe.php");
- $get_pms = mysql_query("SELECT `id` FROM `pm` WHERE `to`='".$_SESSION['uid']."' AND `seen`='0'") or die (mysql_error());
- if(mysql_num_rows($get_pms) > 0){
- echo "<div style='display:block;' class='alert'>
- <span class='closebtn' onclick='this.parentElement.style.display='none';'>×</span>
- <strong>Danger!</strong> Indicates a dangerous or potentially negative action.
- </div>";
- } else{
- echo "<font id="clr" size="1px" color="red"><b></b> </font>";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement