Jump to content

execute action with php when a link to leave a page is clicked


CBR

Recommended Posts

^ right.  PHP is parsed on the server and then sent to the client, so you need a client-side script to do something like that. 

 

Alternatively, depending on what exactly you're trying to accomplish (in relation to your content), you could possibly setup a condition or something to check something or other and run the query at the beginning of the destination page(s). 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.