Re: session question
| From: | Mark Green | Date: | Wed, 31 Jan 2001 02:04:31 +0000 |
| Subject: | Re: session question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37374@lists.php.net to get a copy of this message | ||
How about this:
session_start();
session_register($funky_session_var);
$funky_session_var ++;
print $funky_session_var;
Cheers,
^^@rk
Peter Van Dijck wrote:
>
> Hi,
> help: shouldn't this increase the number every time you reload the page?
>
> session_start();
> $funky_session_var ++;
> session_register($funky_session_var);
> print $funky_session_var;
>
> Peter
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net