Jump to content

Omerr01

Members
  • Posts

    91
  • Joined

  • Last visited

Posts posted by Omerr01

  1. I got this error after I updated php to 5.4

    Parse error: syntax error, unexpected 'public' (T_PUBLIC) in /home/******/public_html/crew/core/common/PilotData.class.php on line 482

  2. Hello everyone, 

    I don't know if this is the right place to write this, 

    I want to show in my virtual airline the current deprture board in the real world. 

    If anyone knows Departure board API (FREE) please let me know. 

     

    Thanks, 

    Omer Cohen.

  3. 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.

×
×
  • Create New...