BBuchanan Posted December 15, 2008 Report Posted December 15, 2008 How do we include the stats of the airline on the frontpage? Like how many flights, hours, etc.? Quote
Administrators Nabeel Posted December 15, 2008 Administrators Report 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
BBuchanan Posted December 19, 2008 Author Report 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
Administrators Nabeel Posted December 19, 2008 Administrators Report 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
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.