We have some code to pull the airline logo for our recent flights board - but I would like to return the same for the live flight info. For some reason the same code does not work and instead of returning the airline logo it returns VTA as the answer all the time for every flight and displays the airline logo.
The code we use for the recent flight board is below and works fine. I have tried editing it but cannot find the solution. Should it be looking at the $PIREP data or something else? Like I say this code works on recent flights but not live flights.
Thanks for your response. That code did not work for us. We are not trying to input the logo on the live flight map bubble. We have a live flights board which we are trying to post it in. I have images below of the issue with the new code and also how it displays normally with the wrong logo.
With the old code you can see it looks for VTA.png for every flight instead of the airline icao .png
The code for the recent flights is posted in the top of the thread. If you need anything more please let me know. It seens to return the VA icao VTA rather than the airline logo such as AAL
No, I would need the code for the current flights in orderto check the variable you are using inorder toparse the data for the current flights section.
I have a similar problem. I want to put up the logos of the airlines that are currently flying. I have tried using this code but it is trying to show, "http://sta-va.com/airlines/.png" not with airline name in it. Is it that I have put the code in wrong?
I tried making that change but it did not work. It still returns the same error. Sorry for the really late response for some reason I was not following the topic.