TennShadow Posted September 5, 2016 Report Posted September 5, 2016 This is the call I'm using on my frontpage_main template which displays all aircraft in my fleet regardless of status. What could I use in order to only have it display the enabled aircraft? <?php echo StatsData::TotalAircraftInFleet(); ?> Quote
web541 Posted September 5, 2016 Report Posted September 5, 2016 <?php echo OperationsData::getAllAircraft('true'); ?> Specifying the 'true' inside the brackets will trigger the command to only allow $enabled aircraft to be returned in the query. 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.