Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video 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 2589 to 2592

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