Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

update_timestamp()

Parameters

ColumnTypeDefaultDescription
$resource

Location

include/resource_functions.php lines 6268 to 6275

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 16th July 2020 00:35 Europe/London time based on the source file dated 15th July 2020 16:26 Europe/London time.