Estoy usando este otro ejemplo, y tampoco me sirve, sucede lo mismo que cito arriba.
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php $thisPage="Home"; ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Vento Acoustic :: Sound & Lightning Products Company <?php if ($thisPage!="")
echo " | $thisPage"; ?></title>
<link href="home.css" rel="stylesheet" type="text/css" />
<!--[if IE]>
<style type="text/css">
p.iepara{ /*Conditional CSS- For IE (inc IE7), create 1em spacing between menu and paragraph that follows*/
padding-top: 1em;
}
</style>
<![endif]-->
</head>
<body>
<div id="contenedor">
<div id="header">
<div id="logo"><a href="index.html"><img src="imagenes/logo.jpg" border="0" /></a></div>
<div id="animderecha"><script src="incluir.js" type="text/javascript"></script></div>
<br class="borrarfloat" />
</div>
<?php
include("menu.php");
?>
y el archivo menu.php
Código PHP:
<ul class="solidblockmenu">
<li<?php if ($thisPage=="Home")
echo " class=\"current\""; ?>>
<a href="index.php">Home</a></li>
<li<?php if ($thisPage=="About Us")
echo " class=\"current\""; ?>>
<a href="company.php">Company</a></li>
<li<?php if ($thisPage=="Our Products")
echo " class=\"current\""; ?>>
<a href="category.php">Products</a></li>
</ul>
Alguien que me pueda dar una mano por favor.