Tony I will assume that you know the format of the text file that is to say that you know what fields lie with in which pipes.
so $data[0] is the first element and $data[1] is the second and so on....
Just take the for loop out and manually create each ceel with the data you want to show like so:
<?php
$londonStationFile = "../activeData/".$londonStation.".txt";
//Put contents an an array
$file = file($londonStationFile);
print'<table>';
while (list($key,$val) = each ($file)) {
$data = explode("|", $val);
print '<tr>';
printf('<td>%s</td>', $data[0]);
printf('<td>%s</td>', $data[1]);
printf('<td><a href="%s">%s</a></td>', $data[3], $data[3]);
print '</tr>';
}
print '</table>';