function displayedit($id,$title,$fn,$ln,$instit,$depart,$email,$url,$room,$phone) {
echo '
<form name="editform" method="post" action="editform.php">
<p class="body"><b>Title:</b>';
$t =array(
"D.Sc." => "D.Sc.",
"Dr." => "Dr.",
"Dr. Ir." => "Dr. Ir.",
"Drs." => "Drs.",
"Ing." => "Ing.",
"Ir." => "Ir.",
"M.Sc." => "M.Sc.",
"Miss" => "Miss",
"Mme." => "Mme.",
"Mr." => "Mr.",
"Mrs." => "Mrs.",
"Ms." => "Ms.",
"Ph.D" => "Ph.D",
"Prof." => "Prof.",
"Prof. Dr." => "Prof. Dr.",
"Prof. Dr. Ir." => "Prof. Dr. Ir."
);
$titledrop = "<select name='selectTitle'>";
foreach ($t as $value)
{
$sel = "";
if($keg_title== $value)
{
$sel = "selected";
}
$titledrop .= "<option ".$sel." value=\"".$value."\">".$value."</option>\n";
}
$titledrop.="</select>";
echo $titledrop;