PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'd like to implement a feature where a php script watches a hyperlink and counts how many times the link has been clicked, so the variable can be displayed later on the page. What would be the best approach to something like this?
probably the easiest way would be to send the click to an intermediate page, record the click in a db, then use header() to send to the final destination.