Re: session
| From: | Thorsten Suckow-Homberg | Date: | Tue, 20 Sep 2005 13:42:21 +0000 |
| Subject: | Re: session | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-222763@lists.php.net to get a copy of this message | ||
and when i click on link always I have in $count value 1 but I need value 2,3,.... how to do it ?<?php session_start(); if (! isset($_SESSION['count'])) { $_SESSION['count'] = 0; } $_SESSION['count']++; //session_destroy(); <- don't do that! It destroys the //session associated with the current user ?>