PHP Pop-up dialog box is as follows, generally, after submitting the information need to pop up a dialog box prompt, then you can automatically close the dialog box, pop-up dialog has the following centralized method, in fact, are using the alert () method in JavaScript. Close the current page at the end of the prompt, and you can also use JavaScript's Window.self.close ().
Exact statements such as: echo "";
1. PHP Popup dialog box
Popup dialog box
echo "";
?>
Close the current page
echo "";
Or
Print "";
?>
2. If you want to return to the original page after the PHP popup dialog box can be written
echo "";
Exit
?>
Or
Print "";
Exit
?>
3. If you need a php pop-up dialog box and replace the original page with a new page (change the current history), the original page can be written like this
echo "";
Exit
?>
Or
Print "";
Exit
?>
The above describes the PHP pop-up dialog, including the content of the popup dialog, I hope the PHP tutorial interested in a friend helpful.