hi all,
hope you can help...this is driving me crazy:
i've written this page:
[tt]
<?php
session_start();
session_register('hits');
++$hits;
?>
this page has been viewed <?php echo $hits ?> times.
[/tt]
when i run it, i get this error the first time:
"Warning: Undefined variable: hits in c:\inetpub\ on line 4"
what's the deal? i've defined "$hits" in line 3!
=========================================================
if (!succeed) try();
-jeff
hope you can help...this is driving me crazy:
i've written this page:
[tt]
<?php
session_start();
session_register('hits');
++$hits;
?>
this page has been viewed <?php echo $hits ?> times.
[/tt]
when i run it, i get this error the first time:
"Warning: Undefined variable: hits in c:\inetpub\ on line 4"
what's the deal? i've defined "$hits" in line 3!
=========================================================
if (!succeed) try();
-jeff