Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

get_collection_comments()

Description

Fetch all the comments for a given collection.

Parameters

ColumnTypeDefaultDescription
$collection integer

Return

array

Location

include/collections_functions.php lines 2182 to 2185

Definition

 
function get_collection_comments($collection)
    {
    return 
sql_query("select * from collection_resource where collection='" escape_check($collection) . "' and length(comment)>0 order by date_added");
    }

This article was last updated 13th July 2020 17:05 Europe/London time based on the source file dated 9th July 2020 17:22 Europe/London time.