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 2441 to 2444

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 25th November 2020 09:05 Europe/London time based on the source file dated 23rd November 2020 16:00 Europe/London time.