PDA

View Full Version : count the article click rate



runeveryday
03-10-2010, 02:09 AM
now,i want to use PHP to count a post click's statistic,finally put the number into the database. who can give me a train of thought. any tips would be appreciated.

seco
03-10-2010, 02:18 AM
when the page loads grab the id from the url and run a update to increase the clicks field.

runeveryday
03-10-2010, 03:13 AM
i am a newbie of php,i am still confused,is there an example to explain how to grab the page id from the url .thank you.