RE: [PHP] newbie problem: Hit counter.

2001-03-15 Thread Boaz Yahav
Subject: [PHP] newbie problem: Hit counter. For some reason the number of hits value is not getting replaced [after incrementing] into the original counter file. any help would be appreciated. here is the code : "; } fclose ($rs); $wr = fopen ($cntfile, "rw");

[PHP] newbie problem: Hit counter.

2001-03-15 Thread Richard Banks
For some reason the number of hits value is not getting replaced [after incrementing] into the original counter file. any help would be appreciated. here is the code : "; } fclose ($rs); $wr = fopen ($cntfile, "rw"); $cntr+=1; fputs($wr, $cntr); echo $cntr; fclose(