I want to be able to refer to global variables, throughout my webpages.
I have set some variables and I can't read read them even in the page I set them, see the code, so I believe that I have not set the globals correctly if someone could check for me please.
When I searched EE for a solution there was lots of comments about the badness of global variables.
I also tried setting $_POST variables and that wasn't successful either.
Can someone help
Thank you for reading this
foreach ($GLOBALS as $key => $value)
echo htmlspecialchars('$key : $value');