title: redirect after alert box
body: <p>I want to redirect page after clicking an alert box "OK" button</p>
  
  <p>This is my code, but this is not working. The alert box is coming up but when I press OK button it redirects to the same page. I want to redirect <code>http://localhost/project/index.php/Con_Group_View</code> this page.</p>
  
  <pre><code>else
  {
      echo '&lt;script type="text/javascript"&gt;';
      echo'alert("Your Group Already Created ");';
      echo 'window.Location="http://localhost/project/index.php/Con_Group_View";';
      echo '&lt;/script&gt;';
  }
  </code></pre>