Born in ";
$townurl = ucwords(trim(strtolower(str_replace('-', ' ', $title->birthplace))));//get rid of white space, allow for different capitalisation and hyphens/spaces
if($title->tid){//theres a town table entry
echo"$title->birthplace";
}
elseif($chtown){
echo'
birthcounty\">$title->birthplace";
}
else{echo"
$title->birthplace";}
}
if(!empty($title->birthplace) && !empty($title->CountyName)){echo',';}
if(!empty($title->CountyName)){echo" $title->CountyName\n";}
if(!empty($title->deathplace) || isset($deathcounty)){echo'
Died in ';}
if(!empty($title->deathplace)){
if(mysql_num_rows($dtcheck) > 0){
echo"$title->deathplace";
}
else{
echo"$title->deathplace";
}
}
if(!empty($title->deathplace) && isset($deathcounty)){echo', ';}
if(isset($deathcounty)){echo"$deathcounty\n";}
echo"
More about $title->name
Links:
\n";
if(!empty($title->link)){
if(strpos($title->link, 'showPlace')){echo"internal link";}
else{echo" $title->link";}
echo' ';
if(!empty($title->comment)){echo"$title->comment\n";}
echo'
';
}
if(!empty($title->link2)){echo"";
if(strpos($title->link2, 'showPlace')){echo"internal link";}
else{echo" $title->link2";}
echo' ';
if(!empty($title->comment2)){echo"$title->comment2\n";}
echo'
';
}
if(!empty($title->link3)){echo"";
if(strpos($title->link3, 'showPlace')){echo"internal link";}
else{echo" $title->link3";}
echo' ';
if(!empty($title->comment3)){echo"$title->comment3\n";}
echo'
';
}
if(!empty($title->link4)){echo"";
if(strpos($title->link4, 'showPlace')){echo"internal link";}
else{echo" $title->link4";}
echo' ';
if(!empty($title->comment4)){echo"$title->comment4\n";}
echo'
';
}
if(!empty($title->link5)){echo"";
if(strpos($title->link5, 'showPlace')){echo"internal link";}
else{echo" $title->link5";}
echo' ';
if(!empty($title->comment5)){echo"$title->comment5\n";}
}
echo'
More famous Britons here