Home > DeveloperSection > Forums > Need answer for this blow cod
Rahuman khan
Rahuman khan

Total Post:1

Posted on    September-28-2014 11:49 PM

 JavaScript JavaScript  PHP 

 0 Reply(s)
 641  View(s)
Rate this:
this is my code

$usr = $_SESSION['uid'];
    { ?>
    <script type="text/javascript">
    window.onload = function () {

       window.location.href = "member-login.php";
   <?php }
   else {
echo "hi";

The above code says only the alert box while page loading i want solution for the current page want to show on

bacgrount and alert box is in that page and while clicking alert box it redirect to member-login.php page

Don't want to miss updates? Please click the below button!

Follow MindStick