How to “save” variable values across functions?
-
I am trying to save a variable and its value (e.g. $id = 1) across functions. The variable gets its value in Function1, and I would like to use the value in Function 2.
How can I do this? Thanks so much!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to “save” variable values across functions?’ is closed to new replies.