Menu
I don’t have the ability to test this at this time.
Does this look right?
If host equals bonds.mydomain.com then display bonds.php
If host equals stocks.mydomain.com then display stocks.php
If neither then display navbar_both.php
[code=php] <?php
IF ($_SERVER[‘HTTP_HOST’] == “bonds.mydomain.com”) :
include “bonds.php”;
ELSE IF ($_SERVER[‘HTTP_HOST’] == “stocks.mydomain.com”) :
include “stocks.php”;
ELSE :
include “navbar_both.php”;
ENDIF;
?>