PHP - download file counter from mysql database

Asked By Sanjai Raj on 17-Oct-11 03:28 AM
Hi friends,
   We mysql table use to view the grid wise. In a grid of column is view button, we click that view button,  download the file and counting also increase. Kindly help me.
In grid wise column like,
1. Slno, 
2. article 
3. view button
4. counting

Advance thanks for you


Suchit shah replied to Sanjai Raj on 17-Oct-11 03:32 AM

please follow the tutorials first


http://www.asp.net/learn/linq-videos/video-232.aspx

Suchit shah replied to Sanjai Raj on 17-Oct-11 03:34 AM

In the database(or file on disk) ! Create a table named downloads:


FileName, count


Put first all files to be downloaded in the table with count 0


increment by 1 every time you download



please follow the tutorials first


http://www.asp.net/learn/linq-videos/video-232.aspx

dipa ahuja replied to Sanjai Raj on 17-Oct-11 03:41 AM
Your query in PHP or ASP.NET?