General discussions related to php
Moderators: macek, egami, gesf
by drwoowoo » Sat Aug 25, 2012 2:22 am
hi,
i have some links which open other sites in a new window/tab and need to track this activity
am wondering how i can fire some sql yet still spawn a new window:
ie i have the html as:
<a href="http://google.com" target="_new">hr mr lala</a>
yet want to run sql on its click and still fire the new open window
any help much appreciated.
-
drwoowoo
- New php-forum User

-
- Posts: 1
- Joined: Sat Aug 25, 2012 2:20 am
by NigelRen » Sat Aug 25, 2012 10:18 am
The easiest way would be to change the link to a php script on your site which logs the activity and then forwards onto the target URL.
-
NigelRen
- php-forum Active User

-
- Posts: 450
- Joined: Fri Aug 05, 2011 9:53 am
Return to PHP General
Who is online
Users browsing this forum: No registered users and 2 guests