BiggerBrother
Technical User
I thought this was an easy thing that I over looked, and after a long week, and now wanting to quit for the weekend, I can't seem to see the wood for the trees!
I have a function, and within the function I refer to a session variable. I've tried echoing out the variable, and I don't get anything, when I know that the session is populated. What am I missing? The function is called by another function, which is in an included file.
Within the function I just have echo "this is the variable" . $_SESSION['variable_name']; , and it only returns the "this is the variable" bit.
Any help would be gratefully received.
Many thanks
BB
I have a function, and within the function I refer to a session variable. I've tried echoing out the variable, and I don't get anything, when I know that the session is populated. What am I missing? The function is called by another function, which is in an included file.
Within the function I just have echo "this is the variable" . $_SESSION['variable_name']; , and it only returns the "this is the variable" bit.
Any help would be gratefully received.
Many thanks
BB