ID: 15840 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: all PHP Version: 4.1.2 New Comment:
Fixed in CVS. IT will show up online in a few days. Derick Previous Comments: ------------------------------------------------------------------------ [2002-03-02 17:43:11] [EMAIL PROTECTED] On this page http://www.php.net/manual/en/ref.session.php there is a bug in this sample code provided. Missing "}" at the end of the code sample. Example 2. Registering a variable with $_SESSION. <?php // Use $HTTP_SESSION_VARS with PHP 4.0.6 or less if (!isset($_SESSION['count'])) { $_SESSION['count'] = 0; } else { $_SESSION['count']++; ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15840&edit=1