?> <?php if (strlen($auto->getExterior()) > 0) { ?> <tr> <th>Exterior:</th> <td><?php echo $auto->getExterior(); ?> </td> </tr> <?php } ?> <?php if (strlen($auto->getInterior()) > 0) { ?> <tr> <th>Interior:</th> <td><?php echo $auto->getInterior(); ?> </td> </tr> <?php } ?> <?php foreach ($auto->getFeatures() as $feature) { ?> <tr>
<tr> <th> <label for="squirrels_exterior">Exterior:</label> </th> <td> <input id="squirrels_exterior" placeholder="ex: Red" value="<?php echo htmlspecialchars($auto->getExterior()); ?> " /> </td> <th> <label for="squirrels_interior">Interior:</label> </th> <td> <input id="squirrels_interior" placeholder="ex: Black or Leather" value="<?php echo htmlspecialchars($auto->getInterior()); ?> " /> </td> </tr> <tr> <th> <label for="squirrels_price">Price:</label> </th> <td> <input id="squirrels_price" value="$<?php echo number_format($auto->getPrice(), 2); ?> " /> </td>