\r\n"; mail('jim.rolt@googlemail.com', $subject, $error, $headers); } if(isset($_GET['hero'])){ $q = mysql_query("SELECT * FROM BritishHeroes WHERE url = '".mysql_real_escape_string($_GET['hero'])."' ")or mailjim("q", mysql_error()); if(mysql_num_rows($q) == 0){ header("HTTP/1.1 404 Not Found"); header("Location: https://information-britain.co.uk/errordoc.php"); exit(); } $title = mysql_fetch_object($q); echo <<$title->Name, British Hero! EOT; } else{ ?> British Heroes
$title->Name\n"; include'linkunit.txt'; if(file_exists("images/fambrits/$title->famousid.jpg")){ echo'
'; $size = getimagesize("/images/fambrits/$title->famousid.jpg"); if(!empty($title->amazon)){ echo"\n";} else{echo"\n";} echo"
\n"; } echo"

$title->content

"; if(!empty($title->famousid)){ echo"

More about $title->Name

"; } ?>

Previous heroes of the hour

    url != $title->url){ echo"\n$row->Name ".date("j/n/Y", strtotime($row->DateEntered)).'
    '; if($count == $num)echo'
    '; $count ++; } } ?>

More British Heroes

British heroes\n"; include'linkunit.txt'; echo'

'; while($row = mysql_fetch_object($q)){ $desc = ''; $description = explode(' ', $row->content); $num = (count($description) < 20) ? count($description) : 20; for($i=0; $i<$num; $i++){$desc .= $description[$i].' ';} echo"$row->Name
\n$desc...More
\n"; } } include'dailyfeature.php'; ?>