close window using php code example
Example: php quit
exit(); // Normal exit
exit(1); // Exit with an error code
exit('Error!'); // Exit and print an error message
exit(); // Normal exit
exit(1); // Exit with an error code
exit('Error!'); // Exit and print an error message