--- a/busui/stop.php +++ b/busui/stop.php @@ -8,6 +8,7 @@ echo ' <ul data-role="listview" >'; $url = $APIurl."/json/stoptrips?stop=".$_REQUEST['stopid']."&time=".midnight_seconds()."&service_period=".service_period(); $trips = json_decode(getPage($url)); +debug(print_r($trips,true)); foreach ($trips as $row) { echo '<li>';