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

message_user_remove()

Description

Remove an instance of a message from user_message table

Parameters

ColumnTypeDefaultDescription
$usermessage int Message ID

Return

void

Location

include/message_functions.php lines 399 to 407

Definition

 
function message_user_remove($usermessage)
    {
    global 
$userref;

    
$userref     escape_check($userref);
    
$usermessage escape_check($usermessage);

    
sql_query("DELETE FROM user_message WHERE user = {$userref} AND ref = '{$usermessage}'");
    }

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