Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

message_unseen()

Description

Mark a message as unseen

Parameters

ColumnTypeDefaultDescription
$message int Message ID

Return

void

Location

include/message_functions.php lines 137 to 142

Definition

 
function message_unseen($message)
    {
    
$message escape_check($message);

    
sql_query("UPDATE `user_message` SET seen='0' WHERE `ref`='{$message}'");
    }

This article was last updated 2nd December 2020 00:35 Europe/London time based on the source file dated 4th August 2020 08:55 Europe/London time.