<strong>Uh oh!</strong> The database returned the following error:<br/> <em><?php echo $makes->errorInfo()[2]; ?> </em> </div> <?php } $makes->closeCursor(); ?> </div> <div class="form-group col-sm-6"> <label for="txtModelId">Model</label> <select disabled name="txtModelId" id="txtModelId" class="form-control pull-right"> <?php $models = $modelCon->getModels(); if ($models->errorInfo()[2] == null) { $rows = $models->fetchAll(); $rowCount = count($rows); if ($rowCount > 0) { ?> <?php foreach ($rows as $row) { ?> <option <?php checkSelected($row['model_id'], $modelId); ?> value="<?php echo $row['model_id']; ?> "><?php