Hello,
I want to know if I can know if the flight with ACARSData::get_flight($code, $flight_num),
Is in flight or not,
Beacuse in my code,
I want to search some flight and check if the flight is in flight and get some details about the flight,
I tried to do this one,
$results = ACARSData::GetACARSData();
echo $results->aircraft;
But it didn't give me noting,
I already tought about the foreach option but i'm inside while and if i do the foreach it will change me something that I don't won't to change,
And when I did this one:
$results = ACARSData::get_flight($code, $flight_num),
echo $results->aircraft;
It gave me all the details that I want but it's not in-flight so it dons't help me.
So I wanted to know if I can do ACARSData::GetACARSData($code, $flight_num);
or something else that can give me some detiled about specific flight that i want to search.
Thanks for the helpers.