I have a search page in which pop up is open and after pop up login I want to redirect the same URL which means that the URL is not changed. So how can I redirect?

this is the search page pop up code:

```
<div id="light">
    <form action="tutors_login1.php" method="post" name="form">

    <center>
    <table>
        <tr><td>
            PLEASE LOGIN
        </td></tr>
        <tr><td>
            User Email <input type="text" name="email" />
        </td></tr>
        </tr><td>
            Password <input type="password" name="password" />
        </td></tr>
        <tr><td>
        <input type="submit" name="submitbut" value="Login" />
        </td></tr>                   
    </table>
    </center>

    </form>
</div>

<div id="fade" onClick="lightbox_close();"></div> 

```

this is the login page code in which I redirect the page

```
if($flagl=='lgin'){    
    header('Location: my_account.php');
}

$tabl = 'tutor';

if($_POST['submitbut'] == 'Login') {
    $stateid=$_REQUEST['country'];
    $cityid=$_REQUEST['state'];
    $areaid=$_REQUEST['city'];

    $email = mysql_real_escape_string($_POST['email']);

    $password = mysql_real_escape_string($_POST['password']);

    $sql = "SELECT * from $tabl where email='$email' AND password='$password' AND app='1'";

    $exec = mysql_query($sql);

    $num = mysql_num_rows($exec);

    if($num == 1) {
        $fetch = mysql_fetch_assoc($exec);
        $_SESSION['login'] = $fetch['uniq'];
        $_SESSION['email'] = $fetch['email'];

        $email = $_SESSION['email'];

        $_SESSION['type'] = 'tutor';

        header("Location: latest_tuition_jobs.php");

    }
        if($sql1 = "SELECT * from $tabl where email='$email' AND password='$password' AND app='0'")
        {
            $exec1 = mysql_query($sql1);

            $flag_r1 = 'r';
} else {
        $flag_r = 'r';
    }
}

```