Forum Moderators: coopster
if(isset($_GET['filecounterid'])) {
$idfile = $_GET['filecounterid'];
list($thisincrement) = mysql_fetch_array(mysql_query("SELECT current FROM counter_table..."));
$thisincrement++; // add one here
// then just "UPDATE SET..." the same value in the database
}