roby90 Posted September 10, 2012 Report Posted September 10, 2012 Hi, I have a problem with the current flight I can not write the string gives me error why?? help please Quote
Moderators servetas Posted September 11, 2012 Moderators Report Posted September 11, 2012 What kind of error? Quote
roby90 Posted September 11, 2012 Author Report Posted September 11, 2012 I can't see anything definitely something wrong now I deleted everything and I tried some string but nothing Quote
roby90 Posted September 12, 2012 Author Report Posted September 12, 2012 <center> <h2 color="blue"> <img src=".........../VA/lib/skins/brilliancev1/images/flights.png"> <font color="152f60"> Current Flight</font> </h2> <table width="100%"> <tdead> <tr> <td><b>Flight No<b></td> <td><b>Departure<b></td> <td><b>Arrival<b></td> <td><b>Duration<b></td> <td><b>Pilot<b></td> <td><b>Status<b></td> </tr> </tdead> <tbody> <?php $results = ACARSData::GetACARSData(); if (count($results) > 0) { foreach($results as $flight) { if($flight->client == 'FSACARS') {$plane = OperationsData::getAircraftInfo($flight->aircraft);} else {$plane = OperationsData::getAircraftByReg($flight->aircraft);} ?> <?php echo $flight->flightnum;?> - <?php echo $flight->pilotname;?> <br/> <?php } } else { ?> No flight in progress in this moment <?php } ?> What mistake???? help me!!!! 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.