Congratulations to AcaCandy on her 100,000th post!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer backup black screen blue screen boot bsod computer connection crash css dell drive driver drivers email error ethernet excel explorer firefox firefox 3 hard drive internet internet explorer itunes laptop linux malware monitor network networking nvidia outlook outlook 2003 outlook 2007 outlook express partition problem router slow software sound trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Counting clicks with php and mysql?


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
Melfra's Avatar
Junior Member with 5 posts.
 
Join Date: Jun 2006
Experience: Intermediate
09-Oct-2007, 07:25 PM #1
Counting clicks with php and mysql?
I'm trying to implement a script on my site that will count and display the number of times a link has been clicked in a view/download type directory. I've done this type of thing before, but I lost the site I had the information on after a server crash (and then my hard drive fried right after. Irony, irony), and I can't find the site I originally found the tutorial on.

What I'm looking for is something that will read the links I have in an SQL database, then write the information to one of two fields (one for view, one for download), depending on which link was clicked. I'm not looking to download some bloated script, just hoping that perhaps someone could give me a link that explains this in a bit more detail or walk me through it. The closest I've found is a script that will redirect based on an id assigned to each link, but I'm hoping that I would be able to edit in this information without modifying my existing code too much or adding multiple rows whenever I add a new section to my site. For illustration purposes, here's an example of the type of page I'm trying to get this on.

Thanks for any help; I know this might be a little too specific. OTL
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:51 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.