--- a/stop.php +++ b/stop.php @@ -133,7 +133,9 @@ } else { foreach ($trips as $trip) { echo '
";
+
+ $destination = getTripDestination($trip['trip_id']);
+ echo ' ";
$viaPoints = viaPointNames($trip['trip_id'], $trip['stop_sequence']);
if ($viaPoints != "")
echo '' . $trip['route_short_name'] . " towards " . $destination['stop_name'] . "
Via: ' . $viaPoints . '';