Hi,
i have a problem with the first variable, which will be saved in the session-file. It seems like this:
<?php
session_register("counter1");
$counter1++;
session_register("counter2");
$counter2++;
echo "<p>$counter1</p>$counter2";
?>
Here will two variable be saved in the session-file, they count the visit-times of the Site. Now i change the code:
<?php
$counter1=888;
session_register("counter1");
$counter2=888;
session_register("counter2");
echo "<p>$counter1</p>$counter2";
?>
After the execution of the script will just the $counter2 in der Session be overwritten, and $counter1 not!
Is here somebody, who can explain me why?
Regards!
Jack