<ahref="#"class="dropdown-toggle"data-toggle="dropdown"><svgclass="glyph stroked male-user"><usexlink:href="#stroked-male-user"></use></svg> User <spanclass="caret"></span></a>
$query=mysql_query("update produk set namalengkap='$nama', alamat='$alamat', email='$email', waktumulai='$waktu_mulai', waktuselesai='$waktu_selesai', namaruangan='$namaruangan', gambar='$gambar' where id_produk='$id'");
if($query){
echo"<script>alert('Data $nama berhasil disimpan!'); window.location = 'barang.php'</script>";
}else{
echo"<script>alert('Data $nama gagal disimpan!'); window.location = 'barang.php'</script>";