For javascript there is an unload function, when a page closes, do something. Is there the same for php?
Thanks Jean
For javascript there is an unload function, when a page closes, do something. Is there the same for php?
Thanks Jean
PHP is a server-side technology. It has no idea that the page is closing unless you use JavaScript to send a message to a PHP script. Then it's just as any other php page.