<tr class="remove">
    <td colspan="13">
        <h5 class="h4text" style="background: #E2E2E2;padding:7px;margin: 0;">Trip Detail</h5>
        <table id="example2" class="table table-striped table-responsive">
            <thead>
                <tr>
                    <th>Departure City</th>
                    <th>Drop City</th>
                    <th>Pickup Date</th>
                    <th>Pickup Time</th>
                    <th>Distance</th>
                    <th>No. Of Days</th>
                </tr>
            </thead>
            <tbody>
                <?php
                if (count($data) > 0) {
                    foreach ($data as $val) {
                        ?>
                        <tr>
                            <td><?php echo $val['pick_city_name'] ?></td>
                            <td><?php echo $val['drop_city_name'] ?></td>
                            <td><?php echo date('Y-m-d',strtotime($val['pickup_date'])); ?></td>
                            <td><?php echo $val['pickup_time'] ?></td>
                            <td><?php echo $val['distance'] ?></td>
                            <td><?php echo $val['days'] ?></td>
                        </tr>
                        <?php
                    }
                } else {
                    ?>
                    <tr><td colspan="10" class="red">No Record Found</td></tr>
                <?php } ?>
            </tbody>
        </table>
    </td>
</tr>