title: How to display jquery msgBox after data is inserted to MySQL table using PHP
body: <p>I want to show a message box when data is already inserted in to MySQl table. My code is as below :</p>
  
  <pre><code> if($insert_query)
      {  
      &lt;script type='text/javascript'&gt; 
      $.msgBox('Data Added');
      window.location = 'bentry.php'; 
      &lt;/script&gt; 
      }
  </code></pre>
  
  <p>But alert is not shown. How to solve this problem.</p>