I have a Php document where after executing a query it will need to close the page.
My problem is that I cannot close the page.
I tried using javascript window.close();
but that does not work.
I also tried using simulated key press(that is using control + w to close the tab) but was unsuccessful in making it work.