title: how i can close popup window in php ...?
body: <p>i have a page in where the different button available. on each button when a user click a popup window open. e.g user click on ADD button and a popup window appear. user put some data in controls and press on save button. i want to close the open popup when user press on save and and data save successfully. i m using this code to close the form</p>
  
  <pre><code>function closeForm() {
      echo "&lt;script language=\"JavaScript\"&gt;\n";
      echo "function closeForm(){ \n";
      echo "window.self.close();";
      echo " } \n";
      echo "&lt;/script&gt;\n";
      return true;
  } 
  </code></pre>
  
  <p>this function call if the data successfully save.</p>
  
  <p>any one help me to fix this problem...?</p>