read www.php.net/variables.scope
Eric Fleming wrote:
I am having some problems using variables in included files. Can someone
please look at my code below and see how I might accomplish what I am trying
to do?
The content would go here.
Now, when I try to reference the subnav variable in
I am having some problems using variables in included files. Can someone
please look at my code below and see how I might accomplish what I am trying
to do?
The content would go here.
Now, when I try to reference the subnav variable in the inHeader.php or
incFooter.php files, it comes up
according to the php doc, online the headers are not affected by the
Output Buffer,
so any functions that manipulate the OB should have no effect. flush I
do not beleive
will fix this issue. (* I have tested it and it did not *)
Still need a good way to accomplish this.
Thanks, James
Ivo Fokke
You might want to check whether or not your header output is getting
buffered. My suggestion is a flush() after the fist call. I'm not an expert
on this, it's just an idea.
HTH
--
Ivo Fokkema
PHP & MySQL programmer
Leiden University Medical Centre
Netherlands
"James M. Luedke" <[EMAIL PROTECTED
4 matches
Mail list logo