View Full Version : Link Popularity

11-14-2007, 02:35 PM
How, do I display 4 links, for example:

www.google.co.uk (http://www.google.co.uk)
www.yahoo.co.uk (http://www.yahoo.co.uk)
www.facebook.com (http://www.facebook.com)
www.msn.com (http://www.msn.com)

Each time a link is clicked, how do I give each link a rating of popularity, then on a separate page, display a popularity list 1-10. 1 being the best, and 10 being the worst?

11-14-2007, 06:07 PM
Create a script that accepts a URL as a parameter (or just the identifier of the link), increment your link counter then forward the user to the desired URL.