Pass PHP Variable in Javascript Link to do Redirecting

If we using PHP GET Method, sometime we we use the URL to pass the variable. In some kind of application maybe we need a redirecting.

Below is a dynamic redirecting using PHP and Javascript. See The Source Code below

echo '<script type="text/javascript">
window.location = "barang.php

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

Komentar FB

Probably Related Article


Related Posts by Categories

Widget by