The include statement would be best to use, if you're just updating a counter...
include it prior to the html, then reference it whithin the html...
like if the variable for the counter was $number...
<?
include ("counter.php");
?>
Hits on page:
<?
echo "$number";
?>
Am I right in thinking the counter.php is responsible for more than 1 page count?