--- a/trip.php +++ b/trip.php @@ -34,12 +34,12 @@ $viaPoints[] = $stop[1]; } } -echo 'Via: ' . implode(", ", $viaPoints) . ''; -echo '

Other Trips: '; +echo '

Via:

' . implode(", ", $viaPoints) . '

'; +echo '

Other Trips:

'; foreach ($routetrips as $othertrip) { echo '' . midnight_seconds_to_time($othertrip[0]) . ' '; } -echo '

Other directions/timing periods: '; +echo '

Other directions/timing periods:

'; $url = $APIurl . "/json/routesearch?routeshortname=" . $trips[1]->route_short_name; $json = json_decode(getPage($url)); foreach ($json as $row) {