<?php
$aircraft = OperationsData::getAircraftInfo($schedules->aircraftid);
echo $aircraft->icao;
?>
Change $schedules->aircraftid to the aircraft id of your table, provided the id's match between the aircraft table and your table then it should work.