Quote:
Originally Posted by neverstop
Can anyone show me how to write a file that would basically:
UPDATE " . TABLE_PREFIX . "thread
SET views = views + 1
WHERE threadid = the thread id that was clicked
Cheers,
Ian
|
Bump...
Basically I want to make a file (track.php) that when clicked adds a view to the thread table. So clicking on track.php?id=15 would update thread 15 with one more view. Not sure if its possible to have it update hourly like regular thread views?
Can someone help me out on this one pls.
Thanks in advance,
Ian