Hi,
I think you actually wanna use the LinkOwner value, not the current logged in user? Try this:
load_ref_id
return $DB->table('Users')->select( ['Referral_ID'], { Username => $_[0] } )->fetchrow;
}
Call with this in detailed.html :
Hope that helps.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
I think you actually wanna use the LinkOwner value, not the current logged in user? Try this:
load_ref_id
Code:
sub { return $DB->table('Users')->select( ['Referral_ID'], { Username => $_[0] } )->fetchrow;
}
Call with this in detailed.html :
Code:
<%load_ref_id($LinkOwner)%>Hope that helps.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!