Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form action="prosesinput.php" method="post">
- <table class="table table-bordered">
- <tbody>
- <tr>
- <td rowspan="2" style="line-height: 30px; text-align: center;">No.</td>
- <td rowspan="2" style="line-height: 30px; text-align: center;">Tanggal Masuk</td>
- <td rowspan="2" style="line-height: 30px; text-align: center;">Nama Pemohon</td>
- <td rowspan="2" style="line-height: 30px; text-align: center;">Nama Instansi</td>
- <td rowspan="2" style="line-height: 30px; text-align: center;">Data yang diminta</td>
- <td height="34" colspan="2" style="text-align: center;">Jumlah Data yang diminta</td>
- <td rowspan="2" style="line-height: 30px; text-align: center;">Periode(tahun)</td>
- <td rowspan="2" style="line-height: 30px; text-align: center;">Disposisi</td>
- <td rowspan="2" style="line-height: 30px; text-align: center;">Jenis Tarif</td>
- <td rowspan="2" style="line-height: 30px; text-align: center;">Harga</td>
- </tr>
- <tr>
- <td height="23" style="text-align: center;">Jumlah Unit</td>
- <td style="text-align: center;">Jumlah Waktu</td>
- </tr>
- <?php
- $no = 0;
- while ($tampil = $sql->fetch_array()) {
- $no++;
- ?>
- <tr>
- <td height="27" style="display: table-cell;"><?php echo $no; ?></td>
- <td style="display: table-cell;"><input style="border: none; width: 100%; text-align: center;" type="text" name="tgl_input[<?php echo $tampil['id_transaksi']; ?>]" value="<?php echo $tampil['tgl_input'] ?>"></td>
- <td style="display: table-cell;"><input style="border: none; width: 100%; text-align: center;" type="text" name="nama_pemohon[<?php echo $tampil['id_transaksi']; ?>]" value="<?php echo $tampil['nama_pemohon']; ?>"></td>
- <td style="display: table-cell;"><input style="border: none; width: 100%; text-align: center;" type="text" name="nama_instansi[<?php echo $tampil['id_transaksi']; ?>]" value="<?php echo $tampil['nama_instansi']; ?>"></td>
- <td style="display: table-cell;"><input style="border: none;text-align: center;" type="text" name="jenis_data[<?php echo $tampil['id_transaksi']; ?>]" value="<?php echo $tampil['jenis_data']; ?>"></td>
- <td style="display: table-cell;"><input style="border: none; width: 100%; text-align: center;" type="text" name="jumlah_unit[<?php echo $tampil['id_transaksi']; ?>]" value="<?php echo $tampil['jumlah_unit']; ?>"></td>
- <td style="display: table-cell;"><input style="border: none; width: 100%; text-align: center;" type="text" name="jumlah_waktu[<?php echo $tampil['id_transaksi']; ?>]" value="<?php echo $tampil['jumlah_waktu']; ?>"></td>
- <td style="display: table-cell;"><input style="border: none; width: 100%; text-align: center;" type="text" name="periode[<?php echo $tampil['id_transaksi']; ?>]" value="<?php echo $tampil['periode']; ?>"></td>
- <td style="display: table-cell;">
- <select name="nama_disposisi[<?php echo $tampil['id_transaksi']; ?>]" required style="text-align: center;">
- <option value="" disabled selected>Pilih...</option>
- <option value="Antiq">Antiq</option>
- <option value="Herru">Herru</option>
- <option value="Aji">Aji</option>
- <option value="Irda">Irda</option>
- <option value="Adi">Adi</option>
- <option value="Join">Join</option>
- </select>
- </td>
- <td style="display: table-cell;"><input style="border: none; width: 100px; text-align: center;" type="text" name="jenis_tarif[<?php echo $tampil['id_transaksi']; ?>]" value="<?php echo $tampil['jenis_tarif']; ?>"></td>
- <td style="display: table-cell;"><input style="border: none; width: 100%; text-align: center;" type="text" name="harga_total[<?php echo $tampil['id_transaksi']; ?>]" value="<?php echo $tampil['harga_total']; ?>"></td>
- </tr>
- <?php
- }
- ?>
- </tbody>
- </table>
- </div>
- <input type="submit" name="" value="SUBMIT" class="btn btn-primary" style="margin-left: 650px;" />
- </form>
Advertisement
Add Comment
Please, Sign In to add comment