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

getAnnotation()

Parameters

ColumnTypeDefaultDescription
$ref

Location

include/annotation_functions.php lines 9 to 26

Definition

 
function getAnnotation($ref)
    {
    if(
>= $ref)
        {
        return array();
        }

    
$ref escape_check($ref);

    
$return sql_query("SELECT * FROM annotation WHERE ref = '{$ref}'");

    if(
count($return))
        {
        
$return $return[0];
        }

    return 
$return;
    }

This article was last updated 26th November 2020 03:05 Europe/London time based on the source file dated 17th January 2020 16:11 Europe/London time.