1 2 3 |
echo "<script>window.location = 'adminlogin.php'</script>"; |
And to relocate into a different frame use the name of the frame.
1 2 3 4 |
echo "<script>parent.mainwindow.location='page1.php'</script>"; echo "<script>parent.right_frame.location='page2.php'</script>"; |