Backfill the number of clicks on the downloaded file. The mysql database table named book contains the following fields: the unique downnum click count of the file whose id is downloaded first. php? While ($ myrow @ mysql_fetch_array ($ result )){? Mysql database table whose TRT name is book
The table contains the following fields:
The unique identifier of the downloaded object.
Downnum clicks
First. php
{
?>
& Amp; id = "> Click here download
Ddload. php
Include ("data. inc. php ");
If ($ incerror)
{
Echo $ incerror;
Exit;
}
If (empty ($ dnnum) $ dnnum = 1;
Else $ dnnum ++;
$ SQL = "update book set downnum = '$ dnnum' where id = $ id ";
Mysql_query ($ SQL );
Mysql_close ($ connect );
Header ("location: $ purl ");
?>
The "Downloads" table contains the following fields: the unique downnum click count of the object whose id is downloaded first. php? While ($ myrow = @ mysql_fetch_array ($ result )){? Tr t...