Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

get_resource_ref_range()

Description

Returns an array of resource references in the range $lower to $upper.

Parameters

ColumnTypeDefaultDescription
$lower int ID of resource, lower in range
$higher int ID of resource, upper in range

Return

array

Location

include/resource_functions.php lines 3283 to 3286

Definition

 
function get_resource_ref_range($lower,$higher)
    {
    return 
sql_array("select ref value from resource where ref>='$lower' and ref<='$higher' and archive=0 order by ref",0);
    }

This article was last updated 30th November 2020 16:35 Europe/London time based on the source file dated 30th November 2020 11:55 Europe/London time.