<div class="main-content">
    <!--breadcrumb-->
    <h3 class="fmon">Drivers</h3>
    <div class="my-2">
        <div class="table-responsive">
            <table id="example" class="table tableStriped">
                <thead>
                    <tr>
                        <th scope="col fColorred">
                            <p class="fColorred mb-0"> Name</p>
                        </th>
                        <th scope="col fColorred">
                            <p class="fColorred mb-0">Email</p>
                        </th>
                        <th scope="col fColorred">
                            <p class="fColorred mb-0">Phone</p>
                        </th>
                        <th scope="col fColorred">
                            <p class="fColorred mb-0">Car #</p>
                        </th>
                        <th scope="col fColorred">
                            <p class="fColorred mb-0">Car Modal</p>
                        </th>
                        <!--
                        <th scope="col fColorred d-none">
                            <p class="fColorred mb-0">Next Delivery</p>
                        </th>
-->
                        <th scope="col fColorred ">
                            <p class="fColorred mb-0">Status</p>
                        </th>
<!--
                        <th scope="col fColorred  d-none">
                            <p class="fColorred mb-0">Actions</p>
                        </th>
-->
                    </tr>
                </thead>
                <tbody>
                    <!-- Add table rows with data here -->
          <?php foreach($customerlist as $c=>$data){ 
           // echo "<pre>";
           // print_r($data);
           // echo "</pre>";
            ?>
                    <tr>
                    <td><?php echo $data['firstName']." ".$data['lastName']; ?></td>
                        <td><?php echo $data['email']; ?></td>
                        <td><?php echo $data['phoneNumber']; ?></td>  
                        <td><?php echo $data['car_name']; ?></td>  
                        <td><?php echo $data['car_model']; ?></td>    
                        <td>
                            <p class="card oCard fColorred px-2"><?php echo $data['currentstatus']; ?></p>
                        </td>
                        </td>
                        <td style="display:none">
                            <div class="dropdown">
                                <button class="btn " type="button" id="dropdownMenuButton" data-bs-toggle="dropdown"
                                    aria-expanded="false">
                                    <i class="fa-solid fa-ellipsis-vertical"></i>
                                </button>
                                <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
                                    <li><a class="dropdown-item" href="#">Edit</a></li>
                                    <li><a class="dropdown-item" href="#">Delete</a></li>
                                </ul>
                            </div>

                        </td>
                    </tr>
                <?php } ?>    
                    <!-- Add more rows as needed -->
          
                </tbody>
            </table>
        </div>
    </div>

</div>