[phplib] Call $sess->register from a function From: Adam Weisbart (adam <email protected>)
Date: 10/15/00

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>