<div class="mb-3 input-container">
    <label class="form-label">Table</label>
    <select class="form-control" type="text" id="table_no">
        <option value="">----Select----</option>
        <?php
        foreach($tables AS $table)
        {
            ?>
                <option value="<?php echo $table['cl_id'] ?>"
                        <?php
                        if($table['cl_id'] == $order['cl_table_id'])
                        {
                            echo ' selected="selected" ';
                        } ?>
                        > <?php echo $table['cl_table_name'] ?></option>
            <?php
        }
       
        ?>
    </select>
     <div class="error-input"></div>
</div>
