TennShadow Posted September 5, 2016 Report Share 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 Link to comment Share on other sites More sharing options...
web541 Posted September 5, 2016 Report Share 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 Link to comment Share on other sites More sharing options...
TennShadow Posted September 5, 2016 Author Report Share Posted September 5, 2016 Thanks! Quote Link to comment Share on other sites More sharing options...
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.