And is there a simpler way to do this? Such as, for example, defining the variable in the header, or something like that?
I say this because I can handle some PHP things but not to the point where I define session variables. I somehow understand the concept but not how to apply it.
Do you have any idea of a simpler way to do this?