</div> </div> </div> </div> </div> </div> <h4>Features</h4> <div class="container-fluid"> <div class="row"> <div class="form-inline"> <div class="form-group col-sm-6"> <label for="features">Select</label> <select multiple class="form-control pull-right" name="features[]" id="features"> <option disabled value="">Hold CTRL or CMD to Select Multiple</option> <?php $features = $featureCon->getFeatures(); if ($features->errorInfo()[2] == null) { $rows = $features->fetchAll(); $rowCount = count($rows); if ($rowCount > 0) { ?> <?php foreach ($rows as $row) { ?> <option <?php echo in_array($row['feature_id'], $selectedFeatureIds) ? 'selected' : ''; ?> value="<?php echo $row['feature_id']; ?> "><?php