OA01 Posted November 24, 2013 Report Share Posted November 24, 2013 Hello coding Gurus Why does this code produce no output? <table> <h3>Top Routes</h3> <tr> <td><?php echo StatsData::TopRoutes(); ?></td> </tr> </table> Quote Link to comment Share on other sites More sharing options...
Tom Posted November 24, 2013 Report Share Posted November 24, 2013 The function returns an array of results, so if you want to build a table out of it you'll have to write your own loop. You can see the output using print_r(StatsData::TopRoutes()); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.