Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

get_research_request()

Parameters

ColumnTypeDefaultDescription
$ref

Location

include/research_functions.php lines 87 to 92

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'");
    return 
$return[0];
    }

This article was last updated 16th July 2020 00:35 Europe/London time based on the source file dated 7th July 2020 14:31 Europe/London time.