Wildone Posted December 27, 2013 Report Posted December 27, 2013 Hello Guys, I would like to ask you for help. After a few unsuccessful attempts, I gave up. Basically what I was trying to do is make a loop statement to get pilots current booked flights values of depicao and arricao, so they display next to each pilot name in the pilot roster. Can anybody help? 2 Quote
freshJet Posted January 1, 2014 Report Posted January 1, 2014 Place this after the foreach($allpilots as $pilot) line: $bids = SchedulesData::getBids($pilot->pilotid); And then, where you want them displayed: foreach($bids as $bid){ echo $bid->depicao.' - '.$bid->arricao.'<br />'; } 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.