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

update_timestamp()

Parameters

ColumnTypeDefaultDescription
$resource

Location

include/resource_functions.php lines 6807 to 6814

Definition

 
function update_timestamp($resource)
    {
    if(!
is_numeric($resource))
        {
        return 
false;
        }
    
sql_query("UPDATE resource SET modified=NOW() WHERE ref='" $resource "'");
    }    

This article was last updated 15th June 2021 13:35 Europe/London time based on the source file dated 4th June 2021 11:55 Europe/London time.