first commit
This commit is contained in:
24
app/master/satker/modal.php
Normal file
24
app/master/satker/modal.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
include ('../../koneksi.php');
|
||||
$id=$_POST['id'];
|
||||
$data=pg_query("SELECT * FROM satuan_kerja WHERE id='$id'");
|
||||
while($row=pg_fetch_array($data)) {
|
||||
$id=$row['id'];
|
||||
$nama=$row['nama'];
|
||||
$kode_satker=$row['kode_satker'];
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
<form role="form">
|
||||
<div class="form-group">
|
||||
<label for="exampleInputEmail1">Nama Satuan Kerja</label>
|
||||
<input type="hidden" value="<?php echo $id; ?>" id="satuan_kerja_id">
|
||||
<input type="text" class="form-control" value="<?php echo $nama; ?>" id="nama_satker">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="exampleInputEmail1">Kode</label>
|
||||
<input type="text" class="form-control" value="<?php echo $kode_satker; ?>" id="kode_satker">
|
||||
</div>
|
||||
</form>
|
||||
Reference in New Issue
Block a user