If I want to insert a self.close() tag after my PHP modifies my database how would I do that?
User:
- Clicks on Button in the Main window, Popup window appears
- Makes appropriate adjustments
- Clicks Submit Button
PHP:
if($submit) //User has clicked on Submit Button
{
//Does some SQL Stuff
}
self.close();
In other words, How do you call the javascript function self.close() in PHP?