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 404 to 412

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 18th May 2021 00:05 Europe/London time based on the source file dated 7th May 2021 16:05 Europe/London time.