I want to write the number of outbound clicks on a URL to the dBase file that URL is pulled from, thereby tracking how many users click that link.
Right now php is creating a standard HTML a href link with the URL pulled from the MySQL dBase. Is there a chunk pf php code I can use to write to adBase field whenever someone clicks the link, then have it take them there? I've written counters before, but it only counts when the info is shown, not clicked:
$var1 = "update table2 set hits=hits+1 where it = '$it'";
$r2_2 =mysql_query($var);
Right now php is creating a standard HTML a href link with the URL pulled from the MySQL dBase. Is there a chunk pf php code I can use to write to adBase field whenever someone clicks the link, then have it take them there? I've written counters before, but it only counts when the info is shown, not clicked:
$var1 = "update table2 set hits=hits+1 where it = '$it'";
$r2_2 =mysql_query($var);

Comment