RE: [PHP] session_register in function

2001-02-25 Thread PHPBeginner.com
you have to have the variable you register (in both ways) global. so no matter how you call the function the variable must be defined global. mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 1:16 AM To: PHP List Subject: [PHP] session_register in function The variable I register befor

Re: [PHP] session_register in function

2001-02-24 Thread Jeff Lacy
I had this same exact problem just today. It all stems from the variable namespace, I think A similar code 'snippet' is shown below. I just made it up, but I think it illustrates my point. Good luck with whatever you are doing, Jeff Lacy ""Jon Rosenberg"" <[EMAIL PROTECTED]> wrote in