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

get_research_request()

Parameters

ColumnTypeDefaultDescription
$ref

Location

include/research_functions.php lines 87 to 96

Definition

 
function get_research_request($ref)
    {
    
$ref escape_check($ref);
    
$return=sql_query("select *,email,(select username from user u where u.ref=r.user) username, (select username from user u where u.ref=r.assigned_to) assigned_username from research_request r where ref='$ref'");
    if (
count($return) == 0)
        {
        return 
false;
        }
    return 
$return[0];
    }

This article was last updated 25th November 2020 04:35 Europe/London time based on the source file dated 14th September 2020 11:40 Europe/London time.