<label class="col-md-3 control-label" for="order_id">Order ID</label> <div class="col-md-7"> <input type="text" id="order_id" name="order_id" class="form-control" value="<?php echo $orders->order_id; ?> " readonly> </div> </div> <div class="form-group"> <label class="col-md-3 control-label" for="item_kode">Nama Item</label> <div class="col-md-7"> <select id="item_kode" name="item_kode" class="form-control"> <option>- PILIH -</option> <?php $statement = $lists->ListItems(); while ($row = $statement->fetch(PDO::FETCH_ASSOC)) { extract($row); echo "<option value={$row['item_kode']}>{$row['item_name']}</option>"; } ?> </select> </div> </div> <div class="form-group"> <label class="col-md-3 control-label" for="order_qty">Jumlah</label> <div class="col-md-7"> <input type="number" id="order_qty" name="order_qty" class="form-control" value=""> </div> </div>