title: javascript alert() not working
body: <p>I am trying to add some data in the database , after insertion i want an alert but it doesn't working besides that header() function is working.     </p>
  
  <pre><code>&lt;?php
          include("connection.php");  
          if(isset($_POST['submit_bank']))
          {
              $b_date=$_POST['bank_date'];
              $b_type=$_POST['bank_type'];
              $b_name=$_POST['bank_name'];
              $b_bname=$_POST['bank_bname'];
              $b_amount=$_POST['bank_amount'];
  
              $result = mysql_query("INSERT INTO banking_info(b_date,b_type,b_name,b_branch,b_amount) 
                  VALUES('$b_date','$b_type','$b_name','$b_bname','$b_amount')");
              if ($result!=0)
              {
                  echo "&lt;script&gt;alert('Addition Successfull !!');&lt;/script&gt;";
                  header("Location: banking.php");
              }
              else
              {
                  echo "&lt;script&gt;alert('Addition Failed !!');&lt;/script&gt;";
                  header("Location: banking.php");
              }
          }
      ?&gt;
  </code></pre>