title: make popup when post data on the same page
body: <p>I am working with php. I have a from and submitted this form on the same page.My code is like :</p>
  
  <pre><code>&lt;form method="post"&gt;
     &lt;input type = "text" name="u_name"&gt;
     .....
     &lt;input type = "submit" name = "submit" value="Submit"&gt;
  &lt;/form&gt;
  
  &lt;?php
     $u_name = $_POST["u_name"];
     //insert query here
  ?&gt;
  </code></pre>
  
  <p>Here I have post data into the same page. Now I want to create popup like record is successfully inserted after successfully insert data. So what code should I have to do?</p>