Please tell me what is wrong with this example taken from a book? When I run the browser for the code below the count shown is 1, 3, 5 ....... What's up with this? Please be kind, I'm a really really newbie! Using version 4.3.1.
<?
session_start();
session_register('count');
$SESSION[count]++;
$msg = "<P>You've been here $SESSION[count] times. </p>";
?>
<HTML>
<HEAD>
<TITLE>Count Me!</TITLE>
</HEAD>
<BODY>
<? echo "$msg"; ?>
</BODY>
</HTML>