How do I access php variables declared in another section
-
I am trying to access php variables in the footer which are declared in the header. For example, if I declare
$hello=”Hello World!!”; in my header, when I try to make a call to $hello in the footer, it is null or empty.Is there a way to access a php variable from one section which was declared in a prior section?
Thanks!!
–christopher
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How do I access php variables declared in another section’ is closed to new replies.