title: javascript windows alert with redirect function
body: <p>.guys I have the following code:</p>
  
  <pre><code>echo ("&lt;SCRIPT LANGUAGE='JavaScript'&gt;
          window.alert('Succesfully Updated')
          &lt;/SCRIPT&gt;");
  </code></pre>
  
  <p>what i want to do is that when i click ok on the windows.alert the page will be redirected to a my edit.php.</p>
  
  <p>or how is it possible to create a javascript which will execute an insert query.</p>