Page 1 of 1

Click count record

Posted: Sat Feb 27, 2010 10:41 pm
by hemmoon
Hi All,

I am a new PHP program. I have 20 record in mySQL database table. this table there are 10 cullunms. Last field name click_count.

I want each row of record with link that we can click and if click on one row then the number of click_count field is increase for that rows.

Hope you understant and help me.

Moon

Re: Click count record

Posted: Sat Feb 27, 2010 10:45 pm
by s.dot
This is very simple. Just link the article to, for example, click.php?article_id=$articleID. Record the click on that script for $articleID in the database and then redirect to the actual article.