page not refreshing after clicking delete button
<p>good day</p>

<p>need some help here, my Delete button works but page is not automatically refreshing after i clicked the delete button. i still need to manually retrieve the data from db and it would reflect that data is deleted already...</p>

<p>here is my code for delete php: how can i make this to refresh the page automatically?</p>

<pre><code>&lt;?php
require 'include/DB_Open.php';

$id = $_POST['id'];
    $idtodelete = "'" . implode("','",$id) . "'";


    $query = "DELETE FROM tbl WHERE ticket in (" . $idtodelete . ")";
    $myData = mysql_query($query);
    echo "DATA DELETED";

    if($myData)
    {
    header("Location: delete.php");
    }

include 'include/DB_Close.php';
?&gt;
</code></pre>
