[thelist] PHP: include not getting variable

Jay Blanchard jay.blanchard at niicommunications.com
Wed Jan 7 08:43:58 CST 2004


[snip]
Absolutely sure. I've gone ahead and posted a page where you can view
the full php code:

http://www.sparklesparties.com/tom.html
[/snip]

How about the code from the include file?
If you do this, what happens?

<? $pagetag = "home"; ?>
<? echo $pagetag; ?>
<? include("includes/navigation.php");?>
<? echo $pagetag; ?>


More information about the thelist mailing list