What is different about the code that you wrote except that you have the
html being output by php?


"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[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!



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to