El Macara Posted September 24, 2010 Report Posted September 24, 2010 hi, can someone tell me some code to display on the homepage the statistics of the different flights of different airlines. example: continental 737, Delta 757, jetblue 737, 757 American Airlines bone I want to show the different flights of different aircraft registered in such names airlines can anyone give me these codes please ... Quote
Administrators simpilot Posted September 25, 2010 Administrators Report Posted September 25, 2010 If you are looking for individual aircraft stats you can use -> StatsData::AircraftUsage() which will return an array of all the aircraft and their usage totals for routes flown, distance, average distance, average flight time, and all the aircraft info, ie - registration, type, name, etc... You can build a table around that data and include the information you want to display. You can also use -> StatsData::TopRoutes('airline_code') to return the top routes for an individual airline. Quote
El Macara Posted September 25, 2010 Author Report Posted September 25, 2010 If you are looking for individual aircraft stats you can use -> StatsData::AircraftUsage() which will return an array of all the aircraft and their usage totals for routes flown, distance, average distance, average flight time, and all the aircraft info, ie - registration, type, name, etc... You can build a table around that data and include the information you want to display. You can also use -> StatsData::TopRoutes('airline_code') to return the top routes for an individual airline. thanks for answering a question please. I am new to this php, can you give me details where I put the "StatsData: AircraftUsage ()" and " StatsData: TopRoutes ('airline_code') "bone I know which of the files is that I put them or if I have to open a file using these names. finally how can I create the table for that please? 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.