Re: Include Problems

From: Date: Thu, 24 Jul 2003 20:00:55 +0000
Subject: Re: Include Problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-156729@lists.php.net to get a copy of this message
What is different about the code that you wrote except that you have the html being output by php? "Jay Blanchard" <jay.blanchard@niicommunications.com> wrote in message news:C8F323573C030A448F3E5A2B6FE2070B0101F990@nemesis... [snip] <-----incHeader.php------> <html> <head> <title>[Site Name]</title> </head> <body> <table cellpadding="0" cellspacing="0" border="0" align="left"> <tr> <td> <? if($subnav == "home"){ ?><b><? }?><a href="index.php">home</a><? if($subnav == "home"){ ?><b><? }?> </td> </tr> </table> <-----incHeader.php------> [/snip] <?php if($subnav == "home"){ print("<strong><a href=\"index.php\">home</a></strong>"); } ?> HTH!

« previous php.general (#156729) next »