Jump to content

Total Hours For A Certain Airline


Jeff

Recommended Posts

I am in a slight predicament. I am trying to display total hours flown for a specific airline. The code I am using is not displaying the correct output for it. It keeps displaying my total VA hours instead of just the individual Airline I want.

Here is the code I am using

<?php echo StatsData::TotalHours(AA); ?>

If I use these codes

<?php echo StatsData::TotalPaxCarried(AA); ?>
<?php echo StatsData::TotalMilesFlown(AA); ?>
<?php echo StatsData::totalschedules(AA); ?>
<?php echo StatsData::TotalFlights(AA); ?>

These all show up correctly. Any idea why the Total Hours one isn't showing correctly?

Link to comment
Share on other sites

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...