mseiwald Posted June 25, 2012 Report Share Posted June 25, 2012 Hy guys, i have added a new column to my airports table called "elevation" and as the name says it contains the airport elevation for all airports. Now i am trying to have the elevation displayed on my flight briefing document for the departure and the arrival airport. For some reason it won`t show up and I`m trying different codes for hours now....I`m not too good in database stuff. It would be great if one of you could show me how to call that elevation field value inside the flight briefing. thank you in advance Quote Link to comment Share on other sites More sharing options...
Tom Posted June 25, 2012 Report Share Posted June 25, 2012 If you use something like $airport = OperationsData::getAirportInfo('ICAO'); then your field will be $airport->elevation; You'll also want to update the addAirport and editAirport functions in /core/common/OperationsData.class.php to include your field. 1 Quote Link to comment Share on other sites More sharing options...
mseiwald Posted June 25, 2012 Author Report Share Posted June 25, 2012 unbelievable that it was so easy thank you very much tom 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.