How do I create a link, that when clicked, increments a number value stored in a database?
the link would have to call a script to do the db addition before going to the link with say a header redirect
/count.php?url=http://google.com
count would do the addition then send the user on to google.com
And in case the part you're stuck on is incrementing the value:
$query = 'UPDATE myTable SET counter = counter+1'; $exec = mysql_query($query);
Without more information, there's not much more to say...