<div id="ld" style="position:fixed; top:50%; left:50%"><img src="img/ld.gif"></div>			

<?php
	include "php_class/class_mysql.php";
	include "php_class/class_inventaris.php";
	
	$dataInventaris = new dataInventaris;
	
	$idruangan =  $_POST['idruangan'];
	$ruangan =  $_POST['ruangan'];
	$lantai = $_POST['lantai'];
	$gedung = $_POST['gedung'];
	
	$dataInventaris->edit_ruangan($idruangan, $ruangan, $lantai, $gedung);
	
	echo "<script>window.location='".$base."data-ruangan'</script>"
?>