Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/08/2009, 12:53
Avatar de Triby
Triby
Mod on free time
 
Fecha de Ingreso: agosto-2008
Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 15 años, 9 meses
Puntos: 2237
Respuesta: include en php no se muestran

Eso pasa porque en ambos documentos estas enviando cabeceras html y cierras inmediatamente despues:

Código php:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <script src="TreeMenu.js" language="JavaScript" type="text/javascript"></script>
  5. <link href="css/css_arbol.css" rel="stylesheet" type="text/css" />
  6. </head>
  7. <body>
  8. <div class="arbol">
  9.     <?php $treeMenu->printMenu()?>
  10. </div>
  11. <div class="logo"><img src="images/NuevoLaredo.png" width="200" height="80"></div>
  12. </body>
  13. </html><!-- Todo lo que venga despues de esto ya no aparecerca -->
__________________
- León, Guanajuato
- GV-Foto