filling in values in link from db
Posted: Mon Mar 05, 2012 3:43 pm
Another clueless newby question.
I have in my functions.inc.php
How do I use that value in a template link to fill in the logged in user's program ID?
Thanks,
Betty
I have in my functions.inc.php
- Code: Select all
function UserProgramID(){
$user = getUser();
$UserProgramID = ($user->val('ProgramID'));
return $UserProgramID;
}
How do I use that value in a template link to fill in the logged in user's program ID?
- Code: Select all
<a href="{$ENV.DATAFACE_SITE_HREF}?-table=ProgGoals&-action=related_records_list&-relationship=Goals&-recordid=Programs?ProgramID=">List Program Goals</a>
Thanks,
Betty