if(is_logged_in($user)){ ?>
if(is_admin($user)) {
?>
//Get user's username
$testresults = mysql_query("SELECT user_username FROM ".$prefix."User WHERE user_id='$row[coach_submitted_by]'") or die(mysql_error());
$testrow = mysql_fetch_array($testresults);
$username = $testrow[user_username];
echo("
Entered By: $username");
}
}
?>