		<?php
			include_once('fungsi.php');
				
			$nama= mysql_real_escape_string($_GET['id']);
			$id = $_GET['id'];
			
		?>
	<?php
			$pemesanan=mysql_query("SELECT * FROM pemesanan WHERE id='$id'");
			while($p=mysql_fetch_array($pemesanan)){

	?>
<table>
				<tr>
				<td width="200px">ID</td>
				<td width="150px">:</td>
				<td><input type="text" name="id" id="nama" value='<?php echo $p['id'] ?>' readonly> </td>
				</tr>
				
				
				<tr>
				<td width="200px">Nama Pengunjung</td>
				<td width="150px">:</td>
				<td><input type="text" name="nama" id="nama" value='<?php echo $p['namalengkap'] ?>' readonly> </td>
				</tr>
				
				<tr>
				<td>Alamat Pengunjung</td>
				<td>:</td>
				<td><input type="text" name="alamat" id="nama" value='<?php echo $p['alamat'] ?>' readonly></td>
				</tr>
				
				<tr>
				<td>Email Pengunjung</td>
				<td>:</td>
				<td><input type="text" name="email" id="nama" value='<?php echo $p['email'] ?>' readonly></td>
				</tr>
				
				<tr>
				<td>Jumlah Peserta</td>
				<td>:</td>
				<td><input type="text" name="jumlahpeserta" id="nama" value='<?php echo $p['jumlahpeserta'] ?>' readonly></td>
				</tr>
				
				
				<tr>
				<td>Tanggal Mulai</td>
				<td>:</td>
				<td width="300px"><input type="text" name="waktumulai" id="nama" value='<?php echo $p['waktumulai'] ?>' readonly></td>
				</tr> 
				<tr>
				<td>Tanggal Selesai</td>
				<td>:</td>
				<td><input type="text" name="waktuselesai" id="nama" value='<?php echo $p['waktuselesai'] ?>' readonly></td>
				</tr>
				
				<tr>
				<td>Nama Ruangan</td>
				<td>:</td>
				<td><input type="text" name="namaruangan" id="nama"  required></td>
				</tr>
				
				</table>
<?php
			}
			?>