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 6631 to 6638

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 25th November 2020 04:35 Europe/London time based on the source file dated 13th November 2020 16:50 Europe/London time.