diff --git a/reference/session/functions/session-register.xml b/reference/session/functions/session-register.xml index 208024f08f..09d7c252c6 100644 --- a/reference/session/functions/session-register.xml +++ b/reference/session/functions/session-register.xml @@ -1,5 +1,5 @@ - + @@ -25,8 +25,10 @@ This registers a global variable. If you want to - register a session variable inside a function, you need to make sure to - make it global using global or use the session + register a session variable from within a function, you need to make sure to + make it global using the + global + keyword or the $GLOBALS[] array, or use the special session arrays as noted below.