Date: 10/15/00
- Next message: Padraic Renaghan: "Re: [phplib] Call $sess->register from a function"
- Previous message: Francois Deppierraz: "[phplib] Bug in menu.inc"
- Next in thread: Padraic Renaghan: "Re: [phplib] Call $sess->register from a function"
- Reply: Padraic Renaghan: "Re: [phplib] Call $sess->register from a function"
- Reply: R.B. Scholtus: "Re: [phplib] Call $sess->register from a function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greetings,
I am trying to call:
$sess->register("variable");
...from inside a function and it does not work. If I move the code out of
the function and into the main body of the script, it works fine. I realize
this is a scope problem, but I have been unable to remedy it. Any ideas? I
am able to register the variable in main, and then pass it by reference to
the function, but this seems rather messy.
Thank you!
-Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Padraic Renaghan: "Re: [phplib] Call $sess->register from a function"
- Previous message: Francois Deppierraz: "[phplib] Bug in menu.inc"
- Next in thread: Padraic Renaghan: "Re: [phplib] Call $sess->register from a function"
- Reply: Padraic Renaghan: "Re: [phplib] Call $sess->register from a function"
- Reply: R.B. Scholtus: "Re: [phplib] Call $sess->register from a function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

