Directory

false, 'B' => false, 'C' => false, 'D' => false, 'E' => false, 'F' => false, 'G' => false, 'H' => false, 'I' => false, 'J' => false, 'K' => false, 'L' => false, 'M' => false, 'N' => false, 'O' => false, 'P' => false, 'Q' => false, 'R' => false, 'S' => false, 'T' => false, 'U' => false, 'V' => false, 'W' => false, 'X' => false, 'Y' => false, 'Z' => false); $oldFirstLetter = ''; $iCount = 0; while ($row = mssql_fetch_array($rsFac, MSSQL_ASSOC)) { //HARD CODED DR BRAUN IN to omfs if($dept == 'Oral And Maxillofacial Surgery' && strToUpper($row['acd_lname']{0}) == 'C' && $arrName['B'] == false) { $arrName['B'] = true; $newFirstLetter = 'B'; $oldFirstLetter = $newFirstLetter; $temp['acd_lname'] = 'Braun'; $temp['acd_fname'] = 'Thomas'; $temp['acd_CampusPhone'] = '4126481938'; $temp['acd_email'] = 'twb3@dental.pitt.edu'; $temp['acd_department'] = 'Oral And Maxillofacial Surgery'; $arrFac += array($iCount => $temp); $iCount++; } // END BRAUN HARD CODE //HARD CODED DR Ranalli IN to omfs if($dept == 'Pediatric Dentistry' && strToUpper($row['acd_lname']{0}) == 'R') { $arrName['R'] = true; $newFirstLetter = 'R'; $oldFirstLetter = $newFirstLetter; $temp['acd_lname'] = 'Ranalli'; $temp['acd_fname'] = 'Dennis'; $temp['acd_CampusPhone'] = '4126488472'; $temp['acd_email'] = 'dnr4@dental.pitt.edu'; $temp['acd_department'] = 'Pediatric Dentistry'; $arrFac += array($iCount => $temp); $iCount++; } // END Ranalli HARD CODE $newFirstLetter = strToUpper($row['acd_lname']{0}); if ($oldFirstLetter != $newFirstLetter) { $oldFirstLetter = $newFirstLetter; $arrName[$oldFirstLetter] = true; } $arrFac += array($iCount => $row); $iCount++; } mssql_free_result($rsFac); //print_r($arrName); //print_r($arrFac); ?>
  Department:  
     
  $link) { if ($link) echo "$firstLetter "; else echo "$firstLetter "; } } ?>  
    - Staff Listing "?>  
  There are no faculty members in this department, please try a different one.

"; else { $oldFirstLetter = ''; foreach ($arrFac as $row) { $newFirstLetter = strToUpper($row['acd_lname']{0}); if ($oldFirstLetter != $newFirstLetter) { $oldFirstLetter = $newFirstLetter; echo "

$newFirstLetter

\n"; } ?>


Campus Phone:
Email:
Department: