<?php
	include "../koneksi.php";

	$data = mysqli_query ($koneksi, " select 
									  PlanID
									  from 
									  plan
									  where PlanID = $_POST[id]");
	$row = mysqli_fetch_array ($data);
	
?>
<form role="form" id="form-tambah" method="post" action="rinciantambah.php">	
	<div class="form-group">
		<input type="hidden" name="plan_id" value="<?php echo $row['PlanID'] ; ?>">
		<label>Kode</label>
		<input class="form-control" id="kode" name="kode">
		<p style="color:red" id="error_kode"></p>
	</div>
	<div class="form-group">
		<label>Nomor Lot</label>
		<input class="form-control" id="nolot" name="nolot">
		<p style="color:red" id="error_nolot"></p>
	</div>
	<div class="form-group">
		<label>No Nick</label>
		<input class="form-control" id="nick" name="nick">
		<p style="color:red" id="error_nick"></p>
	</div>
</form>
