Jump to content

Recommended Posts

  • Moderators
Posted

Nabeel, is it possible to show the Past 30 days PIREPS on the stats page, the one shown in the admin section would be great, it it easy to bridge the gap between the admin to public pages?

  • Administrators
Posted

Something like

<?php
    $pireps = PIREPData::getIntervalDataByMonth('', '1');
    print_r($pireps);
?>

Will return the data for the last month. The first variable you can add some WHERE functions to if you want and the '1' is the number of months. B)

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...