Ver Mensaje Individual
  #8 (permalink)  
Antiguo 30/08/2006, 10:59
Avatar de FuLaNo_
FuLaNo_
 
Fecha de Ingreso: mayo-2003
Ubicación: Don Torcuato, Buenos Aires, Argentina
Mensajes: 1.250
Antigüedad: 20 años, 11 meses
Puntos: 2
a ver, pero si creas la funcion como te dije no necesitas utilizar el mismo switch() para cargar el modulo y el titulo, entonces el switch() del modulo lo haces directamente donde debe cargarse, sin variables

Código PHP:
<?php include("inc/modular.php"); ?> 
<?php include("modulos/cabecera.php"); ?> 
<table width="100%" border="0"> 
  <tr> 
    <td colspan="2"></td> 
  </tr> 
  <tr> 
    <td width="20%" valign="top">
    <!--Menú secciones--> 
<?php include("modulos/menu.php"); ?></td> 
    <td width="80%" valign="top">
    <!--Contenido dinámico--><br /> 
<br /> 
<? 
switch ($_GET["seccion"]){ 
  case 
'articulos'
    include(
"articulos/index.php");
    break;
default: 
    include(
"includes/home.php");  

?>
    </td> 
  </tr> 
   
  <tr> 
    <td colspan="2"><!--Pié de página--> 
<?php include("modulos/pie.php"); ?></td> 
  </tr> 
</table> 
</body> 
</html>
Prueba eso así sabremos si el problema esta en la variable (que al parecer es eso pues parece que no tuviera valor el include...)
__________________
I Love Programming...