hi
how can i store the hits value into db
column evey time its change
<?
if(is_writeable('.'))
if(!file_exists('hits')){
$FH = fopen('hits', 'w');
fwrite($FH, 1);
$hits = 1;
}
else{
$hits = @file('hits');
$hits = $hits[0] + 1;
$FH = fopen('hits', 'w');
fwrite($FH, $hits);
?>