Below is a dynamic redirecting using PHP and Javascript. See The Source Code below
echo '<script type="text/javascript">
<!--
window.location = "barang.php
?cbogudang='.$data1[kdgudang].'&pilih=pilih"
//-->
</script>';
This kind of redirecting can be use after insert delete or update a master data. After the insert, delete, or update the data, we can direcly view the table.
This source code from dynamicdrive.com
Tidak ada komentar:
Posting Komentar