[Solved] php add counter with thousands separator [closed]
Preety straight forward answer for you… <?php $fp = fopen(“counters/counterlog.txt”, “r”); $count = fread($fp, 1024); fclose($fp); $count = $count + 1; echo “<p>Pageview: ” . number_format($count) . “</p>”; // <=== $fp = fopen(“counters/counterlog.txt”, “w”); fwrite($fp, $count); fclose($fp); ?> 1 solved php add counter with thousands separator [closed]