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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to