Código PHP:
   <? 
$id=$_GET['id']; 
 
switch ($id) { 
   case 1: 
       include("pagina1.php"); 
       break; 
   case 2: 
       include("pagina2.php"); 
       break; 
   case 3: 
       include("pagina3.php"); 
       break; 
   default: 
       include("pagina_por_defecto.php");  
// estado default .. nos determina el estado  
// "si no es ninguna opcion de las anteriores". 
}  
?>    Código PHP:
  
<html> 
<head> 
<title>Web Modular</title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
</head> 
 
<body> 
<table width="100%" border="0" cellpadding="5"> 
  <tr>  
    <td colspan="2">Cabecera de nuestra Web</td> 
  </tr> 
  <tr>  
    <td><a href="index.php?id=1">Sección 1</a><br> 
      <a href="index.php?id=2">Seccion 2 </a> </td> 
    <td> 
<? 
$id=$_GET['id']; 
 
switch ($id) { 
   case 1: 
       include("pagina1.php"); 
       break; 
   case 2: 
       include("pagina2.php"); 
       break; 
   case 3: 
       include("pagina3.php"); 
       break; 
   default: 
       include("pagina_por_defecto.php");  
// estado default .. nos determina el estado  
// "si no es ninguna opcion de las anteriores". 
}  
?> 
    </td> 
  </tr> 
  <tr>  
    <td colspan="2">Pie de página</td> 
  </tr> 
</table> 
</body> 
</html>   Ahora viene mi inquietud como podria hacer osea abrir un archivo y ais mismo abrir otro archivo a la ves miren esta url:
mi duda escomo hago esto: &producto=pantalones eso aumentaer a mi codigo anterior de index.php?id=algo
no se si mepodrian ayudar lei en las faqs y no encuentro gracias de antemano por su respuesta.
Se nota que estoy desesperado por favor alguien me quiere ayudar?
 
 
