BBuchanan Posted December 15, 2008 Report Share Posted December 15, 2008 How do we include the stats of the airline on the frontpage? Like how many flights, hours, etc.? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted December 15, 2008 Administrators Report Share Posted December 15, 2008 You call the function from the StatsData module as such: Total Hours: <?php echo StatsData::TotalHours(); ?><br /> Total Flights: <?php echo StatsData::TotalFlights(); ?> Quote Link to comment Share on other sites More sharing options...
BBuchanan Posted December 17, 2008 Author Report Share Posted December 17, 2008 nice! Thanks. Quote Link to comment Share on other sites More sharing options...
BBuchanan Posted December 19, 2008 Author Report Share Posted December 19, 2008 is there anyway to shorten the flight hours? example: Flight Hours 1.1000000238419 could it be shortened down to Flight Hours 1.10 Also, is there a way of showing total profit? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted December 19, 2008 Administrators Report Share Posted December 19, 2008 Total profit? I'm building those functions in, including cost per flight, passengers per flight, cost, you know, basic financials. Those numbers, not yet, I'm gonna be shortening that to the hundreth place 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.