Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/08/2007, 22:41
Avatar de manumaf
manumaf
 
Fecha de Ingreso: mayo-2007
Ubicación: Argentina
Mensajes: 854
Antigüedad: 16 años, 11 meses
Puntos: 6
Sonrisa Problema con web modular

Holas miren este código

Código PHP:
<body>
<table width="933" height="316" border="1">
  <tr valign="top">
    <td width="143" height="204"><table width="143" border="1" >
      <tr>
        <td><a href="index.php">Home</a></td>
      </tr>
      <tr>
        <td><a href="index.php?id=panel1">Seccion1</a></td>
      </tr>
      <tr>
        <td><a href="index.php?id=panel2">Seccion2</a></td>
      </tr>
    </table></td>
    <td width="774" colspan="2">
<?php
switch($id){

case 
'panel':
include(
"seccion1.php");
break;

case 
'pane2':
include(
"seccion2.php");
break;

default:
include(
"seccion3.php");
break;

}
?>
</td>
  </tr>
</table>
</body>
Trata de un menú y una celda donde esta puesto el swicht donde dentro de esa celda quiero que se carguen "seccion1" y "seccion2"

pero cuando aprieto los vínculos que hacen teóricamente cargar la sección en la celda no pasa nada alguien me puedo decir que ago mal por favor

Muchas gracias