Artjom Posted January 28, 2010 Report Posted January 28, 2010 Hallo I have a Flight SU517. I will add Airbus and Boeing into the flight! I want that many planes add in one flight, and not just one were added! I've create this code, but it isn't work. <?php foreach($allaircraft as $aircraft) { if($aircraft->registration == $schedule->registration) $sel = 'selected'; else $sel = ''; echo '<input name="aircraft" type="checkbox" value="'.$aircraft->id.'" '.$sel.'>'.$aircraft->name.' ('.$aircraft->registration.')'; } ?> When I save, in flight display one plane is added only! That it is necessary to make that it was added two planes? Quote
Administrators Nabeel Posted January 28, 2010 Administrators Report Posted January 28, 2010 I'm not sure what you mean, you want to assign more than one aircraft to a route? Quote
Artjom Posted January 28, 2010 Author Report Posted January 28, 2010 I'm not sure what you mean, you want to assign more than one aircraft to a route? Yes that, it was possible to add different planes on one route. To this route I will add A319-100 (EI-DMB), B737-300 (EI-FMB) and Tu154 (RA-45485) Quote
Administrators Nabeel Posted January 28, 2010 Administrators Report Posted January 28, 2010 As of now, you can't. But pilots can use any aircraft they wish to use, there's no restriction Quote
Artjom Posted January 28, 2010 Author Report Posted January 28, 2010 As of now, you can't. But pilots can use any aircraft they wish to use, there's no restriction It isn't so good, I will ask the friend of the programmer that it is possible to make if we find decisions that as to establish it I will lay out vessels on site! Sorry for my Englisch. 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.