<?php
// initialize a session
session_start();
// register a session variable
session_register('counter');
// increment and display the value of the counter
$counter++;
echo("You have visited this page $counter times! Don't you have anything
else to do, you bum?!");
?>
every time i run that i get tis as output:
Notice: Undefined variable: counter in C:\Inetpub\wwwroot\BCubed\test.php on line 10
You have visited this page 1 times! Don't you have anything else to do, you bum?!
how come?
i copied this right out ofthe manual for testing purposes
please help me solve this problem