';
foreach ($result as $officer) {
$buffer .= "
";
$buffer .= $officer['one']."
".$officer['two'];
$buffer .= "
";
}
$buffer .= "
";
// Display results.
return($buffer);
}
/**
* Display the Chapter Presidents on the Officer's page.
*/
function directorsAndMembership($officeAbbr,$title) {
// Get the list of members.
$officerList = getDbObject()->dbQuery(
"SELECT b.fullName ".
"FROM wp_sar_officerList a, wp_sar_currentMembers b ".
"WHERE a.officeAbbr = '$officeAbbr' and a.nationalNum = b.nationalNum ".
"ORDER BY last, first, middle, suffix"
);
// Are there any entries to add?
if (sizeof($officerList) > 0) {
// Format the title.
$title = "