ti posto tutto il codice della pagina perchè continuo ad avere problemi, ho apportato le modifiche adesso la tabella nascosta non si vede su nessuna delle pagine ...... giustamente è "nascosta" !!!!


codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>Documento senza titolo</title> 
</head>  

<body> 

<table width="300" border="1">   
<tr>     
<td bgcolor="#FFFF00">Titolo 1</td>   
</tr> 
</table> 

<table width="300" border="1">   
<tr>     
<td bgcolor="#66FF33">Titolo 2</td>   
</tr> 
</table>  

<?php 

$titolo_1 = array('home.php'); 
$titolo_2 = array('progetti.php');   

if ($titolo_1 == $titolo_2) {  echo "<table width=\"100%\" border=\"1\"><tr>
<td bgcolor=\"#990000\">Sottotitolo 2 </td></tr></table>"; 
// occhio all'escape delle " dentro la stringa!  } 
// in questo modo mostri la tua tabella dentro la pagina (o le pagine) desiderate  

?>  


<table width="300" border="1">   
<tr>     
<td bgcolor="#FF99CC">Titolo 3</td>   
</tr> 
</table>  

</body> 
</html>