Eric, If you want to check to see if $subnav is equal to "home" you want
to use == and not =. Perhaps this is your problem.
Jason
On Thu, 2003-07-24 at 15:35, Eric Fleming wrote:
> Here is a snippet from the header file. You can see that I am just trying
> to determine what the value of the subnav variable is set to in order to
> determine which navigational link is bold. There are other places the
> variable is used, but you can get an idea based on what is below. Thanks
> for any help.
>
> <-----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------>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php